egui/crates
Emil Ernerfeldt 6a96612cb3
Mark all keys as up if the app loses focus (#5743)
In Rerun, pressing `Cmd+S` brings up a save dialog using `rfd`, but we
get not key-up event for the `S` key (in winit).
This leads to `S` being mistakenly marked as down when we switch back to
the app.

This PR takes the safe route and marks all keys as up when an egui app
loses focus.

* Tested with https://github.com/rerun-io/rerun/pull/9103
2025-02-25 14:05:35 +01:00
..
ecolor Release 0.31.0 - Scene container, improved rendering quality 2025-02-04 16:47:56 +01:00
eframe Add pointer events and focus handling for apps run in a Shadow DOM (#5627) 2025-02-18 18:01:07 +01:00
egui Mark all keys as up if the app loses focus (#5743) 2025-02-25 14:05:35 +01:00
egui-wgpu Release 0.31.0 - Scene container, improved rendering quality 2025-02-04 16:47:56 +01:00
egui-winit Release 0.31.0 - Scene container, improved rendering quality 2025-02-04 16:47:56 +01:00
egui_demo_app Add `Ui::close` and `Response::should_close` (#5729) 2025-02-20 17:59:29 +01:00
egui_demo_lib Add `Ui::close` and `Response::should_close` (#5729) 2025-02-20 17:59:29 +01:00
egui_extras Fix typo in docstring for `Column::auto_size_this_frame` (#5681) 2025-02-18 18:11:48 +01:00
egui_glow Release 0.31.0 - Scene container, improved rendering quality 2025-02-04 16:47:56 +01:00
egui_kittest Add `Popup` and `Tooltip`, unifying the previous behaviours (#5713) 2025-02-18 15:53:07 +01:00
egui_plot Move `egui_plot` to its own repo (#4828) 2024-07-15 18:45:19 +02:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Add `Popup` and `Tooltip`, unifying the previous behaviours (#5713) 2025-02-18 15:53:07 +01:00
epaint Rename `Marginf` to `MarginF32` for consistency with `CornerRadiusF32` (#5677) 2025-02-11 11:23:59 +01:00
epaint_default_fonts Release 0.31.0 - Scene container, improved rendering quality 2025-02-04 16:47:56 +01:00