-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebugControls.js
More file actions
29 lines (25 loc) · 930 Bytes
/
debugControls.js
File metadata and controls
29 lines (25 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
* Debug Controls Module
* Provides keyboard shortcuts and controls for debugging and testing
*/
import { runSceneTests } from './sceneTest.js';
// Flag to track if tests have been run
let testsRun = false;
let testsRunning = false;
/**
* Initialize debug controls
*/
export function initDebugControls() {
// Add event listener for keyboard shortcuts
// L key debug handler disabled for deployment
// window.addEventListener('keydown', (event) => {
// // Run scene tests with L key - DISABLED FOR DEPLOYMENT
// if ((event.key === 'l' || event.key === 'L') && !testsRunning) {
// // Scene test functionality disabled for deployment
// }
// });
// Auto-run tests functionality disabled for deployment
// if (window.location.search.includes('test=scene') && !testsRun && !testsRunning) {
// // Scene test auto-run disabled for deployment
// }
}