edit predictions: Add binding to the prediction toggle (#24468)
This PR primary goal is to add a keybinding to the (ephemeral) prediction toggle. In doing that, we also standardized the keybinding to open the status bar menu with it. Release Notes: - N/A --------- Co-authored-by: Bennet Bo Fenner <53836821+bennetbo@users.noreply.github.com>
This commit is contained in:
co-authored by
Bennet Bo Fenner
parent
07f1b612cf
commit
c4bcff1e87
@@ -674,7 +674,8 @@ impl Render for ContextMenu {
|
||||
let contents = if toggled {
|
||||
v_flex().flex_none().child(
|
||||
Icon::new(IconName::Check)
|
||||
.color(Color::Accent),
|
||||
.color(Color::Accent)
|
||||
.size(*icon_size)
|
||||
)
|
||||
} else {
|
||||
v_flex().flex_none().size(
|
||||
|
||||
@@ -234,6 +234,7 @@ pub enum IconName {
|
||||
Link,
|
||||
ListTree,
|
||||
ListX,
|
||||
LockOutlined,
|
||||
MagnifyingGlass,
|
||||
MailOpen,
|
||||
Maximize,
|
||||
|
||||
Reference in New Issue
Block a user