Index: sky/examples/game/lib/sprite_node.dart |
diff --git a/sky/examples/game/lib/sprite_node.dart b/sky/examples/game/lib/sprite_node.dart |
index 406a3f4ab442a98a546e816a7af5dc5c21767e8f..327f5e028c63fe865b41cdc171580911012e2668 100644 |
--- a/sky/examples/game/lib/sprite_node.dart |
+++ b/sky/examples/game/lib/sprite_node.dart |
@@ -52,7 +52,7 @@ class SpriteNode extends TransformNode { |
Paint paint = new Paint(); |
paint.setARGB((255.0*_opacity).toInt(), 255, 255, 255); |
if (colorOverlay != null) { |
- paint.setColorFilter(new ColorFilter(colorOverlay, TransferMode.srcATopMode)); |
+ paint.setColorFilter(new ColorFilter.Mode(colorOverlay, TransferMode.srcATopMode)); |
} |
if (transferMode != null) { |
paint.setTransferMode(transferMode); |
@@ -68,4 +68,4 @@ class SpriteNode extends TransformNode { |
} |
} |
-} |
+} |