fix double-toggle on Cmd+P preview, remove duplicate key binding
This commit is contained in:
parent
95ecdf3c95
commit
88e134c01c
|
|
@ -163,9 +163,6 @@ fn macos_key_binding(key_press: KeyPress) -> Option<Binding<Message>> {
|
||||||
}
|
}
|
||||||
|
|
||||||
match key.as_ref() {
|
match key.as_ref() {
|
||||||
keyboard::Key::Character("p") if modifiers.logo() => {
|
|
||||||
Some(Binding::Custom(Message::TogglePreview))
|
|
||||||
}
|
|
||||||
keyboard::Key::Character("=" | "+") if modifiers.logo() => {
|
keyboard::Key::Character("=" | "+") if modifiers.logo() => {
|
||||||
Some(Binding::Custom(Message::ZoomIn))
|
Some(Binding::Custom(Message::ZoomIn))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue