Introduce KeybindingHint (#24397)
- Implements scaling for `ui::Keybinding` and it's component parts - Adds the `ui::KeybindingHint` component for creating keybinding hints easily:  Release Notes: - N/A
This commit is contained in:
parent
9c132fece5
commit
00971fbe41
9 changed files with 390 additions and 16 deletions
|
@ -5613,6 +5613,7 @@ impl Editor {
|
|||
} else {
|
||||
Color::Default
|
||||
}),
|
||||
None,
|
||||
true,
|
||||
),
|
||||
))
|
||||
|
|
|
@ -5784,6 +5784,7 @@ fn inline_completion_accept_indicator(
|
|||
&accept_keystroke.modifiers,
|
||||
PlatformStyle::platform(),
|
||||
Some(Color::Default),
|
||||
None,
|
||||
false,
|
||||
))
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue