File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
crates/command_palette/src Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -475,6 +475,7 @@ impl PickerDelegate for CommandPaletteDelegate {
475475 )
476476 . map ( |keybind| {
477477 ButtonLike :: new ( name)
478+ . style ( ButtonStyle :: Transparent )
478479 . child ( keybind)
479480 . tooltip ( ui:: Tooltip :: text ( "Change key binding…" ) )
480481 . on_click ( |_, window, cx| {
@@ -489,7 +490,9 @@ impl PickerDelegate for CommandPaletteDelegate {
489490 . into_any_element ( )
490491 } )
491492 . unwrap_or_else ( || {
492- IconButton :: new ( command. action . name ( ) , IconName :: Plus )
493+ IconButton :: new ( command. action . name ( ) , IconName :: Keyboard )
494+ . style ( ButtonStyle :: Transparent )
495+ . alpha ( 0.8 )
493496 . icon_size ( IconSize :: XSmall )
494497 . tooltip ( ui:: Tooltip :: text ( "Add key binding…" ) )
495498 . on_click ( |_, window, cx| {
You can’t perform that action at this time.
0 commit comments