We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fb64a3 commit 3f03a75Copy full SHA for 3f03a75
objdiff-gui/src/hotkeys.rs
@@ -8,7 +8,11 @@ pub fn enter_pressed(ctx: &Context) -> bool {
8
if any_widget_focused(ctx) {
9
return false;
10
}
11
- ctx.input_mut(|i| i.key_pressed(Key::Enter) || i.pointer.button_pressed(PointerButton::Extra2))
+ ctx.input_mut(|i| {
12
+ i.key_pressed(Key::Enter)
13
+ || i.key_pressed(Key::Space)
14
+ || i.pointer.button_pressed(PointerButton::Extra2)
15
+ })
16
17
18
pub fn back_pressed(ctx: &Context) -> bool {
0 commit comments