Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
6c510fb5
Commit
6c510fb5
authored
Jul 21, 2015
by
Viktor Lidholt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor formatting fixes
parent
90363ee9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
sprite_box.dart
packages/flutter/example/game/lib/sprite_box.dart
+1
-7
main.dart
packages/flutter/example/game/main.dart
+1
-1
No files found.
packages/flutter/example/game/lib/sprite_box.dart
View file @
6c510fb5
...
...
@@ -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.
...
...
packages/flutter/example/game/main.dart
View file @
6c510fb5
...
...
@@ -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'
)
)
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment