Merge branch 'main' into refine-keybindings
This commit is contained in:
commit
3855413725
22 changed files with 109 additions and 160 deletions
|
@ -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)),
|
||||
),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue