Save point: double-click/tap skips scene via synthetic Escape event
This commit is contained in:
@@ -5836,10 +5836,14 @@ html[data-view="mobile"] #exfilDeskCanvas { max-height: 500px; }
|
||||
showTechHub();
|
||||
});
|
||||
|
||||
// Double-click/tap to skip scene (same as Escape on desktop)
|
||||
document.addEventListener('dblclick', () => {
|
||||
document.dispatchEvent(new KeyboardEvent('keydown', { key: 'Escape', bubbles: true }));
|
||||
});
|
||||
|
||||
// Keyboard shortcuts for testing
|
||||
document.addEventListener('keydown', (e) => {
|
||||
if (e.key === 'Escape') {
|
||||
if (isAndroidApp) return;
|
||||
// SceneRefs: return to caller
|
||||
const refsDiv = document.getElementById('sceneRefs');
|
||||
if (refsDiv.classList.contains('visible')) {
|
||||
|
||||
Reference in New Issue
Block a user