keymap_editor: Adjust some items of the UI (#42876)

- Only showing the "Create" menu item in the right-click context menu
for actions that _do not_ contain a binding already assigned to them
- Only show the "Clear Input" icon button in the keystroke modal when
the input is focused/in recording mode
- Add a subtle hover style to the table rows just to make it easier to
navigate

Release Notes:

- N/A
This commit is contained in:
Danilo Leal
2025-11-17 10:59:46 -03:00
committed by GitHub
parent e0b64773d9
commit 4092e81ada
3 changed files with 23 additions and 16 deletions
+2 -3
View File
@@ -641,11 +641,10 @@ pub fn render_table_row<const COLS: usize>(
.map_or([None; COLS], |widths| widths.map(Some));
let mut row = h_flex()
.h_full()
.id(("table_row", row_index))
.w_full()
.justify_between()
.size_full()
.when_some(bg, |row, bg| row.bg(bg))
.hover(|s| s.bg(cx.theme().colors().element_hover.opacity(0.6)))
.when(!is_striped, |row| {
row.border_b_1()
.border_color(transparent_black())