-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit 558ddd3
Don't restore sketch if last.sketch.location is out of display
`if ((screen.width != screenW) || (screen.height != screenH))` was making sure to reset every preference in case the display geometry changed.
Unfortunately, on Windows 10, `Toolkit.getDefaultToolkit().getScreenSize()` reports only the primary monitor either if external display is connected or not.
Fixes #9781 1 parent 6f943ea commit 558ddd3
1 file changed
+6
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
621 | 621 |
| |
622 | 622 |
| |
623 | 623 |
| |
624 | - | ||
624 | + | ||
625 | + | ||
626 | + | ||
627 | + | ||
628 | + | ||
629 | + | ||
625 | 630 |
| |
626 | 631 |
| |
627 | 632 |
| |
|
0 commit comments