Skip to content

Commit

Permalink
Add keyboard shortcut for opening help
Browse files Browse the repository at this point in the history
  • Loading branch information
kangasta committed Dec 6, 2023
1 parent fd4756e commit c1776d8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
) {
$actions.undo(e);
}
if (
e.key === "F1" &&
$actions.help !== undefined
) {
$actions.help(e);
}
};
</script>

Expand Down

0 comments on commit c1776d8

Please sign in to comment.