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

Unified Diff: sky/examples/game/lib/sprite_box.dart

Issue 1158263005: Rename "BorderSide.None" to "BorderSide.none", since it's a constant, and change the sky.Size.infin… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « sky/engine/core/painting/Size.dart ('k') | sky/examples/raw/ink_well.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/game/lib/sprite_box.dart
diff --git a/sky/examples/game/lib/sprite_box.dart b/sky/examples/game/lib/sprite_box.dart
index 8c8f66b57e6b18851b92d89ecb7c27e3d8d91c96..01c34f9f29f3b5aa867bb31972370b7369886b9e 100644
--- a/sky/examples/game/lib/sprite_box.dart
+++ b/sky/examples/game/lib/sprite_box.dart
@@ -38,7 +38,7 @@ class SpriteBox extends RenderBox {
double get systemHeight => _systemHeight;
void performLayout() {
- size = constraints.constrain(new Size.infinite());
+ size = constraints.constrain(Size.infinite);
}
void handleEvent(Event event) {
@@ -136,4 +136,4 @@ class SpriteBox extends RenderBox {
_rootNode.update(delta);
_scheduleTick();
}
-}
+}
« no previous file with comments | « sky/engine/core/painting/Size.dart ('k') | sky/examples/raw/ink_well.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698