projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
946770b
)
Clean up menu slightly.
author
Jeremy Thurgood
<firxen@gmail.com>
Fri, 16 May 2014 19:41:10 +0000
(21:41 +0200)
committer
Jeremy Thurgood
<firxen@gmail.com>
Fri, 16 May 2014 19:41:10 +0000
(21:41 +0200)
naja/scenes/menu.py
patch
|
blob
|
history
diff --git
a/naja/scenes/menu.py
b/naja/scenes/menu.py
index a94a0edd5e85342429702fbc6f700abf341adf6b..a10d9b3aa696e50423f343271c7e1baaff8e57dc 100644
(file)
--- a/
naja/scenes/menu.py
+++ b/
naja/scenes/menu.py
@@
-51,9
+51,8
@@
class MenuScene(Scene):
y_offset += 50
howto = TextWidget(
- (100, y_offset), 'How To Play', fontsize=32, colour='white')
- howto.add_callback(
- 'click', lambda event: SceneChangeEvent.post(HowtoScene))
+ (100, y_offset), 'How To Play', colour=PALETTE.WHITE)
+ howto.add_callback('click', self.scene_callback(HowtoScene))
selector.add(howto)
y_offset += 50