Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(900)

Unified Diff: sky/sdk/example/game/lib/sprite_box.dart

Issue 1225103009: Fix Asteroids game to paint again and give it an icon. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sky/sdk/example/game/lib/sprite_box.dart
diff --git a/sky/sdk/example/game/lib/sprite_box.dart b/sky/sdk/example/game/lib/sprite_box.dart
index 7770a8258a50e1afa9051743ddb8cccba4db4a3c..b33dd30411707b13e6e772a5d00223d7eacf0475 100644
--- a/sky/sdk/example/game/lib/sprite_box.dart
+++ b/sky/sdk/example/game/lib/sprite_box.dart
@@ -288,6 +288,7 @@ class SpriteBox extends RenderBox {
_runActions(_rootNode, delta);
_callUpdate(_rootNode, delta);
_scheduleTick();
+ markNeedsPaint();
abarth-chromium 2015/07/10 20:24:54 Should should already be in the tree
}
void _runActions(Node node, double dt) {

Powered by Google App Engine
This is Rietveld 408576698