Clean up menu slightly.
authorJeremy Thurgood <firxen@gmail.com>
Fri, 16 May 2014 19:41:10 +0000 (21:41 +0200)
committerJeremy Thurgood <firxen@gmail.com>
Fri, 16 May 2014 19:41:10 +0000 (21:41 +0200)
naja/scenes/menu.py

index a94a0edd5e85342429702fbc6f700abf341adf6b..a10d9b3aa696e50423f343271c7e1baaff8e57dc 100644 (file)
@@ -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