ZIm/crates/settings_ui
Finn Evers 0af7d32b7d
keymap_ui: Dismiss context menu less frequently (#34387)
This PR fixes an issue where the context menu in the keymap UI would be
immediately dismissed after being opened when using a trackpad on MacOS.

Right clicking on MacOS almost always fires a scroll event with a delta
of 0 pixels right after (which is not the case when using a mouse). The
fired scroll event caused the context menu to be removed on the next
frame. This change ensures the menu is only removed when a vertical
scroll is actually happening.

Release Notes:

- N/A
2025-07-13 21:41:41 +00:00
..
src keymap_ui: Dismiss context menu less frequently (#34387) 2025-07-13 21:41:41 +00:00
Cargo.toml keymap_ui: Support unbinding non-user defined keybindings (#34318) 2025-07-11 21:23:14 +00:00
LICENSE-GPL settings_ui: Add placeholder view (#15019) 2024-07-23 12:50:11 -04:00