Index: sky/examples/game/lib/sprite.dart |
diff --git a/sky/examples/game/lib/sprite.dart b/sky/examples/game/lib/sprite.dart |
index c669cd351faf64dd7492307145d0a48768d8764c..84bdf88bff65aca981570091fe4700f40199e131 100644 |
--- a/sky/examples/game/lib/sprite.dart |
+++ b/sky/examples/game/lib/sprite.dart |
@@ -55,7 +55,7 @@ class Sprite extends NodeWithSize { |
Paint paint = new Paint(); |
paint.color = new Color.fromARGB((255.0*_opacity).toInt(), 255, 255, 255); |
if (colorOverlay != null) { |
- paint.setColorFilter(new ColorFilter.mode(colorOverlay, TransferMode.srcATopMode)); |
+ paint.setColorFilter(new ColorFilter.mode(colorOverlay, TransferMode.srcATop)); |
} |
if (transferMode != null) { |
paint.setTransferMode(transferMode); |