1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 14:50:03 -04:00

eframe: Don't restore window position on Windows

If the app last ran on two monitors and only one is now connected, then
the given position is invalid.
If this happens on Mac, the window is clamped into valid area.
If this happens on Windows, the window is hidden and impossible
to bring to get at. So we no longer restore window positions on Windows.
This commit is contained in:
Emil Ernerfeldt
2021-08-18 19:54:13 +02:00
parent 734ec9dc5a
commit 9bc732328f
2 changed files with 13 additions and 5 deletions

View File

@@ -6,6 +6,7 @@ All notable changes to the `egui_glium` integration will be noted in this file.
## Unreleased
* [Fix minimize on Windows](https://github.com/emilk/egui/issues/518)
* Change `drag_and_drop_support` to `false` by default (Windows only). See <https://github.com/emilk/egui/issues/598>.
* Don't restore window position on Windows, because the position would sometimes be invalid.
## 0.13.1 - 2021-06-24