projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3089e01
)
PEP8 fixes.
author
Simon Cross
<hodgestar@gmail.com>
Fri, 16 May 2014 23:40:58 +0000
(
01:40
+0200)
committer
Simon Cross
<hodgestar@gmail.com>
Fri, 16 May 2014 23:47:46 +0000
(
01:47
+0200)
naja/scenes/menu.py
patch
|
blob
|
history
diff --git
a/naja/scenes/menu.py
b/naja/scenes/menu.py
index a409b2a8735ac4ebd8441e8307a9eb44a85b42c0..d1812c5b88c52e6d7e957245c35ae8497bf475fb 100644
(file)
--- a/
naja/scenes/menu.py
+++ b/
naja/scenes/menu.py
@@
-48,7
+48,7
@@
class MenuScene(Scene):
y_offset += y_diff
load = TextWidget((x_offset, y_offset), 'Load', colour=PALETTE.WHITE,
-
centre=True)
+ centre=True)
load.add_callback('click', self.scene_callback(LoadGameScene))
selector.add(load)
@@
-76,7
+76,7
@@
class MenuScene(Scene):
y_offset += y_diff
quit = TextWidget((x_offset, y_offset), 'Quit', colour=PALETTE.WHITE,
-
centre=True)
+ centre=True)
quit.add_callback('click', lambda event: QuitGameEvent.post())
selector.add(quit)