1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 23:13:13 -04:00
Files
egui/crates/eframe/src/web
Emil Ernerfeldt 1b8a9fe95e Only run App::ui if the application is visible (#7950)
* Closes https://github.com/emilk/egui/issues/5113
* Part of https://github.com/emilk/egui/issues/5112
* Part of https://github.com/emilk/egui/issues/5136

If the application is invisible (occluded or minimized), and the user
calls `.request_repaint`, then we should call `App::logic`, but NOT
`App::ui`.

There are still some situations where `App::logic` is not called when it
should be, but at least now we can skip running the UI code when the app
is invisible.
2026-03-02 19:30:24 +01:00
..
2025-06-30 14:01:57 +02:00
2025-12-20 13:52:34 +01:00
2025-01-16 17:00:29 +01:00
2024-04-25 15:51:01 +02:00
2025-08-24 16:27:28 +02:00
2025-06-30 14:01:57 +02:00