Skip to content

Commit

Permalink
fix(keyboard-bindings): prevent actions that we handle
Browse files Browse the repository at this point in the history
We previously did not properly silence further processing of
keyboard shortcuts, leading to `r` to trigger the original behavior.

Closes #203
  • Loading branch information
nikku committed Feb 12, 2025
1 parent 5048147 commit 23772bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/features/keyboard-bindings/KeyboardBindings.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default function KeyboardBindings(eventBus, injector) {
keyboard.addListener(VERY_HIGH_PRIORITY, function(event) {
var keyEvent = event.keyEvent;

handleKeyEvent(keyEvent);
return handleKeyEvent(keyEvent);
});

});
Expand Down

0 comments on commit 23772bb

Please sign in to comment.