Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Retina position fix fix
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+2
−2
psychopy/visual/backends/pygletbackend.py
|
@@ -210,8 +210,8 @@ def __init__(self, win, *args, **kwargs): |
|
|
win.pos = [(thisScreen.width - win.size[0]) / 2, |
|
|
(thisScreen.height - win.size[1]) / 2] |
|
|
if not win._isFullScr: |
|
|
print(win.size[0]) |
|
|
self.winHandle.set_location(int(win.pos[0] + thisScreen.x), |
|
|
# add the necessary amount for second screen |
|
|
self.winHandle.set_location(int(win.pos[0] + thisScreen.x), |
|
|
int(win.pos[1] + thisScreen.y)) |
|
|
|
|
|
try: # to load an icon for the window |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.