Commit 6c510fb5 authored by Viktor Lidholt's avatar Viktor Lidholt

Minor formatting fixes

parent 90363ee9
......@@ -29,8 +29,7 @@ class SpriteBox extends RenderBox {
NodeWithSize _rootNode;
void set rootNode (NodeWithSize value) {
if (value == _rootNode)
return;
if (value == _rootNode) return;
// Remove sprite box references
if (_rootNode != null) _removeSpriteBoxReference(_rootNode);
......@@ -110,11 +109,6 @@ class SpriteBox extends RenderBox {
_scheduleTick();
}
void detach() {
super.detach();
}
// Properties
/// The root node of the node tree that is rendered by this box.
......
......@@ -93,7 +93,7 @@ class GameDemoApp extends App {
return new Center(
child: new RaisedButton(
child: new Text("Play"),
onPressed:() => navigator.pushNamed('/game')
onPressed: () => navigator.pushNamed('/game')
)
);
}
......
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