chore: Remove global Shift+Q debug keybinding for toggling the overlay.

This commit is contained in:
AEmotionStudio
2026-01-03 17:40:16 -08:00
parent 69926fca2b
commit c3951a2f40
3 changed files with 2 additions and 18 deletions
+1 -9
View File
@@ -83,15 +83,7 @@ export class MagnifyGlass {
}
this.debugger.log("LiteGraph and app ready.");
// Brute-force Global Debug Key (Shift+Q)
window.addEventListener('keydown', (e) => {
if (e.shiftKey && e.key.toLowerCase() === 'q') {
console.log("MagnifyGlass GLOBAL DEBUG: Shift+Q detected. Toggling overlay.");
this.toggleDebugOverlay();
e.preventDefault();
e.stopImmediatePropagation();
}
}, true); // Capture phase to beat other listeners
// Load saved offsets first
this.config.loadSavedOffsets();
-8
View File
@@ -58,14 +58,6 @@ class MagnifyGlass {
return;
}
this.debugger.log("LiteGraph and app ready.");
window.addEventListener("keydown", (e) => {
if (e.shiftKey && e.key.toLowerCase() === "q") {
console.log("MagnifyGlass GLOBAL DEBUG: Shift+Q detected. Toggling overlay.");
this.toggleDebugOverlay();
e.preventDefault();
e.stopImmediatePropagation();
}
}, true);
this.config.loadSavedOffsets();
this.ui.createElements();
this.ui.updateResponsivePosition();
File diff suppressed because one or more lines are too long