Save point: disable double-tap escape on mobile; add user-scalable=no
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
||||||
<title>Signal Elsewhere</title>
|
<title>Signal Elsewhere</title>
|
||||||
<style>
|
<style>
|
||||||
* {
|
* {
|
||||||
@@ -5839,6 +5839,7 @@ html[data-view="mobile"] #exfilDeskCanvas { max-height: 500px; }
|
|||||||
// Keyboard shortcuts for testing
|
// Keyboard shortcuts for testing
|
||||||
document.addEventListener('keydown', (e) => {
|
document.addEventListener('keydown', (e) => {
|
||||||
if (e.key === 'Escape') {
|
if (e.key === 'Escape') {
|
||||||
|
if (isAndroidApp) return;
|
||||||
// SceneRefs: return to caller
|
// SceneRefs: return to caller
|
||||||
const refsDiv = document.getElementById('sceneRefs');
|
const refsDiv = document.getElementById('sceneRefs');
|
||||||
if (refsDiv.classList.contains('visible')) {
|
if (refsDiv.classList.contains('visible')) {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
||||||
<title>Signal Elsewhere</title>
|
<title>Signal Elsewhere</title>
|
||||||
<style>
|
<style>
|
||||||
* {
|
* {
|
||||||
@@ -5839,6 +5839,7 @@ html[data-view="mobile"] #exfilDeskCanvas { max-height: 500px; }
|
|||||||
// Keyboard shortcuts for testing
|
// Keyboard shortcuts for testing
|
||||||
document.addEventListener('keydown', (e) => {
|
document.addEventListener('keydown', (e) => {
|
||||||
if (e.key === 'Escape') {
|
if (e.key === 'Escape') {
|
||||||
|
if (isAndroidApp) return;
|
||||||
// SceneRefs: return to caller
|
// SceneRefs: return to caller
|
||||||
const refsDiv = document.getElementById('sceneRefs');
|
const refsDiv = document.getElementById('sceneRefs');
|
||||||
if (refsDiv.classList.contains('visible')) {
|
if (refsDiv.classList.contains('visible')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user