From: Jeremy Thurgood Date: Sat, 17 May 2014 17:01:21 +0000 (+0200) Subject: Minor cleanup. X-Git-Tag: 0.1~73 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=873bfafe4856636d2ac3ca9dfed4d2992d03fdb5;p=naja.git Minor cleanup. --- diff --git a/naja/scenes/lose.py b/naja/scenes/lose.py index 714eaf6..7455fdf 100644 --- a/naja/scenes/lose.py +++ b/naja/scenes/lose.py @@ -24,10 +24,6 @@ class LoseScene(Scene): (0, 0), "screens/you_lost.png") self.add(background) - - #self.add(TextWidget( - # (50, 50), 'You lost!', colour=PALETTE.WHITE)) - if self.state.gameboard.has_cheated: self.add(TextWidget( (50, 250), 'Even with cheats on.', colour=PALETTE.ORANGE)) diff --git a/naja/widgets/selector.py b/naja/widgets/selector.py index 06e63e5..b1f0cbf 100644 --- a/naja/widgets/selector.py +++ b/naja/widgets/selector.py @@ -27,7 +27,7 @@ class SelectorWidget(Container): left_pos = pos.move(-pos.width * 1.5, (selected.size[1] - pos.height) / 2) right_pos = pos.move(selected.size[0] + pos.width * 0.5, - (selected.size[1] - pos.height) / 2) + (selected.size[1] - pos.height) / 2) surface.blit(self.left_selector, left_pos) surface.blit(self.right_selector, right_pos)