Skip to content

Commit

Permalink
make ctrl + o work on faster pcs
Browse files Browse the repository at this point in the history
  • Loading branch information
konekowo committed Aug 24, 2024
1 parent e4b4822 commit 853a484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class Main {
Main.settingsPane.zIndex = 999998;
Main.app.stage.addChild(Main.settingsPane);

document.addEventListener("keyup", (e: KeyboardEvent) => {
document.addEventListener("keydown", (e: KeyboardEvent) => {
if (e.ctrlKey && e.code == "KeyO"){
Main.settingsPane.toggle();
}
Expand Down

0 comments on commit 853a484

Please sign in to comment.