diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-08-27 16:43:23 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-08-27 16:43:23 -0400 |
| commit | 8d196ace7fb01d2ac011d1c685ff422ef891320c (patch) | |
| tree | d3f13800e0012ceeddf8d94ef6cf303806dd9255 /lib | |
| parent | ab656800a067b9ebbe7f200ade0e5a5006da1cda (diff) | |
position params's simulator window at the top of the screen
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/extensions/params.py | 1 |
1 files changed, 1 insertions, 0 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() |
