Commit d8c1d99c authored by Viktor Lidholt's avatar Viktor Lidholt

Fixes issue in sprite

parent 16ffdc67
......@@ -113,11 +113,11 @@ abstract class SpritePaint {
paint.color = new Color.fromARGB((255.0*_opacity).toInt(), 255, 255, 255);
if (colorOverlay != null) {
_cachedPaint.setColorFilter(new ColorFilter.mode(colorOverlay, TransferMode.srcATop));
paint.setColorFilter(new ColorFilter.mode(colorOverlay, TransferMode.srcATop));
}
if (transferMode != null) {
_cachedPaint.setTransferMode(transferMode);
paint.setTransferMode(transferMode);
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment