Merge branch 'main' into refine-keybindings

This commit is contained in:
Nate Butler 2023-11-28 15:12:22 -05:00
commit 3855413725
22 changed files with 109 additions and 160 deletions

View file

@ -304,19 +304,16 @@ impl PickerDelegate for CommandPaletteDelegate {
};
Some(
ListItem::new(ix)
.variant(ui::ListItemVariant::Inset)
.selected(selected)
.child(
h_stack()
.w_full()
.justify_between()
.child(HighlightedLabel::new(
command.name.clone(),
r#match.positions.clone(),
))
.children(KeyBinding::for_action(&*command.action, cx)),
),
ListItem::new(ix).inset(true).selected(selected).child(
h_stack()
.w_full()
.justify_between()
.child(HighlightedLabel::new(
command.name.clone(),
r#match.positions.clone(),
))
.children(KeyBinding::for_action(&*command.action, cx)),
),
)
}
}