chore: Remove global Shift+Q debug keybinding for toggling the overlay.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user