Skip to content

Commit

Permalink
ctrl-0 plz
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuahhh committed Dec 15, 2024
1 parent 018f4b0 commit 45e437b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ async function main() {
if (e.key >= "1" && e.key <= "9") {
viewDepth = parseInt(e.key) - 1;
}
if (e.key === "0") {
if (e.key === "0" && !(e.ctrlKey || e.metaKey)) {
viewDepth = Infinity;
}
});
Expand Down

0 comments on commit 45e437b

Please sign in to comment.