Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
orion3dgames committed Jul 25, 2024
1 parent e7552e4 commit da5ddaa
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Binary file added construction/Retrospective 2024.afdesign
Binary file not shown.
Binary file added construction/Retrospective 2024.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 11 additions & 11 deletions src/client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,18 +136,18 @@ class App {
});

//for development: make inspector visible/invisible
//if (isLocal()) {
window.addEventListener("keydown", (ev) => {
//Shift+Ctrl+Alt+I
if (ev.shiftKey && ev.ctrlKey && ev.altKey && ev.keyCode === 73) {
if (this.game.scene.debugLayer.isVisible()) {
this.game.scene.debugLayer.hide();
} else {
this.game.scene.debugLayer.show();
if (isLocal()) {
window.addEventListener("keydown", (ev) => {
//Shift+Ctrl+Alt+I
if (ev.shiftKey && ev.ctrlKey && ev.altKey && ev.keyCode === 73) {
if (this.game.scene.debugLayer.isVisible()) {
this.game.scene.debugLayer.hide();
} else {
this.game.scene.debugLayer.show();
}
}
}
});
//}
});
}

//resize if the screen is resized/rotated
window.addEventListener("resize", () => {
Expand Down

0 comments on commit da5ddaa

Please sign in to comment.