From 174122f644dd14df2131f92f09512705c8cf88ed Mon Sep 17 00:00:00 2001 From: Jeremy Thurgood Date: Fri, 16 May 2014 21:41:10 +0200 Subject: [PATCH] Clean up menu slightly. --- naja/scenes/menu.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/naja/scenes/menu.py b/naja/scenes/menu.py index a94a0ed..a10d9b3 100644 --- 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 -- 2.34.1