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

egui_glium: run app code outside event loop to fix file dialogs (#631)

Previously app code was run from within the event loop
which lead to file dialogs (e.g. using nfd2) to hang
(see https://github.com/rust-windowing/winit/issues/1779)

Now egui_glium polls for events and then runs the app code.
This commit is contained in:
Emil Ernerfeldt
2021-08-20 18:59:32 +02:00
committed by GitHub
parent 661f0d71a7
commit 04b3921923
4 changed files with 84 additions and 55 deletions

View File

@@ -4,6 +4,7 @@ All notable changes to the `egui_glium` integration will be noted in this file.
## Unreleased
* Fix native file dialogs hanging (eg. when using [`nfd2`](https://github.com/EmbarkStudios/nfd2)
* [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.