changeset 330:6e32494b9f9e

Move quit button away from other stuff
author Neil Muller <drnlmuller@gmail.com>
date Fri, 06 Sep 2013 02:39:56 +0200
parents 6376730611f4
children 5030ef2718ae
files tools/area_editor.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tools/area_editor.py	Fri Sep 06 02:36:59 2013 +0200
+++ b/tools/area_editor.py	Fri Sep 06 02:39:56 2013 +0200
@@ -765,7 +765,7 @@
         widgets.append(save_but)
         y += MENU_BUTTON_HEIGHT + MENU_PAD
 
-        y += MENU_PAD
+        y = SCREEN[1] - MENU_BUTTON_HEIGHT - MENU_PAD
         quit_but = Button('Quit', action=self.quit)
         quit_but.rect = BUTTON_RECT.copy()
         quit_but.rect.move_ip(MENU_LEFT, y)
@@ -836,7 +836,7 @@
         widgets.append(save_but)
         y += MENU_BUTTON_HEIGHT + MENU_PAD
 
-        y += MENU_PAD
+        y = SCREEN[1] - MENU_BUTTON_HEIGHT - MENU_PAD
         quit_but = Button('Quit', action=self.quit)
         quit_but.rect = BUTTON_RECT.copy()
         quit_but.rect.move_ip(MENU_LEFT, y)