Minor formatting fixes
This commit is contained in:
@@ -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')
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user