Minor cleanup.
authorJeremy Thurgood <firxen@gmail.com>
Sat, 17 May 2014 17:01:21 +0000 (19:01 +0200)
committerJeremy Thurgood <firxen@gmail.com>
Sat, 17 May 2014 17:01:21 +0000 (19:01 +0200)
naja/scenes/lose.py
naja/widgets/selector.py

index 714eaf6f8aa5c7a6fc4d635b16bd53d1657f362d..7455fdf60387ad39529151ecbc33b117795b6394 100644 (file)
@@ -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))
index 06e63e5f24ae73f2f169335d403bb4282621f728..b1f0cbf5f64f029cc2cd2f39d7f80ec7683b1b93 100644 (file)
@@ -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)