diff options
| author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-10-27 16:37:43 +0100 |
|---|---|---|
| committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-10-27 16:37:43 +0100 |
| commit | 8066a226f3ac6df3b5e591384a127ba8d81f2700 (patch) | |
| tree | 8192a12fcbfdec762fc86dcc0dfe6f99b1d7de55 /dist/wipfel/index.html | |
| parent | aec36a8d6087266a2c9c7569314e2306f2dcf298 (diff) | |
web: keep browser from stealing the pinch gesture
Firefox on Android may consume two-finger pinch for page zooming
despite touch-action: none on the canvas. Disable page zooming via
the viewport meta (maximum-scale=1, user-scalable=no) so the gesture
reaches the app as pointer events; the app provides its own zoom.
Also join touch pointers seen only via pointermove into the pointer
table, so a swallowed second pointerdown cannot break pinch.
Diffstat (limited to 'dist/wipfel/index.html')
| -rw-r--r-- | dist/wipfel/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/wipfel/index.html b/dist/wipfel/index.html index 5297a72..98f81e8 100644 --- a/dist/wipfel/index.html +++ b/dist/wipfel/index.html @@ -2,7 +2,7 @@ <html lang="en"> <head> <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, maximum-scale=1.0, user-scalable=no" /> <title>wipfel — web based gipfel photogrammetry</title> <link rel="stylesheet" href="style.css" /> </head> |
