summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-08-27 16:43:23 -0400
committerLex Neva <github.com@lexneva.name>2018-08-27 16:43:23 -0400
commit8d196ace7fb01d2ac011d1c685ff422ef891320c (patch)
treed3f13800e0012ceeddf8d94ef6cf303806dd9255
parentab656800a067b9ebbe7f200ade0e5a5006da1cda (diff)
position params's simulator window at the top of the screen
-rw-r--r--lib/extensions/params.py1
-rw-r--r--messages.po16
2 files changed, 9 insertions, 8 deletions
diff --git a/lib/extensions/params.py b/lib/extensions/params.py
index 73ce069d..c9c994c9 100644
--- a/lib/extensions/params.py
+++ b/lib/extensions/params.py
@@ -430,6 +430,7 @@ class SettingsFrame(wx.Frame):
current_screen = wx.Display.GetFromPoint(wx.GetMousePosition())
display = wx.Display(current_screen)
screen_rect = display.GetClientArea()
+ simulator_pos.y = screen_rect.GetTop()
width = screen_rect.GetWidth() - params_rect.GetWidth()
height = screen_rect.GetHeight()
diff --git a/messages.po b/messages.po
index 15718012..f17c39dc 100644
--- a/messages.po
+++ b/messages.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2018-08-27 16:15-0400\n"
+"POT-Creation-Date: 2018-08-27 16:43-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -608,29 +608,29 @@ msgstr ""
msgid "Apply and Quit"
msgstr ""
-#: lib/extensions/params.py:438
+#: lib/extensions/params.py:439
msgid "Preview"
msgstr ""
-#: lib/extensions/params.py:454
+#: lib/extensions/params.py:455
msgid "Internal Error"
msgstr ""
-#: lib/extensions/params.py:507
+#: lib/extensions/params.py:508
msgid "Please enter or select a preset name first."
msgstr ""
-#: lib/extensions/params.py:507 lib/extensions/params.py:513
-#: lib/extensions/params.py:541
+#: lib/extensions/params.py:508 lib/extensions/params.py:514
+#: lib/extensions/params.py:542
msgid "Preset"
msgstr ""
-#: lib/extensions/params.py:513
+#: lib/extensions/params.py:514
#, python-format
msgid "Preset \"%s\" not found."
msgstr ""
-#: lib/extensions/params.py:541
+#: lib/extensions/params.py:542
#, python-format
msgid ""
"Preset \"%s\" already exists. Please use another name or press "