ZIm/crates/settings_ui
Ben Kunkle 21b4a2ecdd
keymap_ui: Infer use key equivalents (#34498)
Closes #ISSUE

This PR attempts to add workarounds for `use_key_equivalents` in the
keymap UI. First of all it makes it so that `use_key_equivalents` is
ignored when searching for a binding to replace so that replacing a
keybind with `use_key_equivalents` set to true does not result in a new
binding. Second, it attempts to infer the value of `use_key_equivalents`
off of a base binding when adding a binding by adding an optional `from`
parameter to the `KeymapUpdateOperation::Add` variant. Neither
workaround will work when the `from` binding for an add or the `target`
binding for a replace are not in the user keymap.

cc: @Anthony-Eid 

Release Notes:

- N/A *or* Added/Fixed/Improved ...
2025-07-16 10:49:16 -04:00
..
src keymap_ui: Infer use key equivalents (#34498) 2025-07-16 10:49:16 -04:00
Cargo.toml Refine keymap UI design (#34437) 2025-07-15 13:45:59 +00:00
LICENSE-GPL settings_ui: Add placeholder view (#15019) 2024-07-23 12:50:11 -04:00