summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-27 16:32:12 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-27 16:32:12 +0100
commitaec36a8d6087266a2c9c7569314e2306f2dcf298 (patch)
tree12287d4df8fc39808505530e5aba9cb655854831 /dist
parentdbc12469028bb7d927fcd8bc1be3bcbc1bf63365 (diff)
web: mobile fixes — pinch zoom, dynamic viewport height, wider accept
- two-finger pinch on the viewport canvas: pointer table tracks all active pointers; pinch emits zoom anchored at the finger midpoint plus pan by the midpoint delta; a second finger cancels an in-flight pan/marker drag, the remaining finger resumes panning, and pinch gestures never fire a click - 100dvh (with 100vh fallback) for the app shell: on mobile browsers 100vh includes the area behind the dynamic URL bar, which pushed the compass strip below the visible fold - file input accepts image/* so Android pickers offer all photos and transcode exotic formats (HEIC) to decodable ones
Diffstat (limited to 'dist')
-rw-r--r--dist/wipfel/style.css4
-rw-r--r--dist/wipfel/wipfel.js4
-rw-r--r--dist/wipfel/wipfel_bg.wasmbin507713 -> 508958 bytes
3 files changed, 6 insertions, 2 deletions
diff --git a/dist/wipfel/style.css b/dist/wipfel/style.css
index d706a8d..a0ffc4d 100644
--- a/dist/wipfel/style.css
+++ b/dist/wipfel/style.css
@@ -10,6 +10,10 @@ body {
.app {
display: flex;
height: 100vh;
+ /* dynamic viewport height: on mobile browsers 100vh includes the
+ area behind the collapsing URL bar, pushing the compass below the
+ fold; dvh tracks the actually visible area */
+ height: 100dvh;
background: #101014;
color: #e8e8ea;
}
diff --git a/dist/wipfel/wipfel.js b/dist/wipfel/wipfel.js
index c813102..9119aea 100644
--- a/dist/wipfel/wipfel.js
+++ b/dist/wipfel/wipfel.js
@@ -594,7 +594,7 @@ function __wbg_get_imports() {
return ret;
},
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 75, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 74, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
const ret = makeClosure(arg0, arg1, wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke___js_sys_351dd7d36d5f7033___Array__web_sys_d6718dd818f67bd6___features__gen_ResizeObserver__ResizeObserver______true_);
return ret;
},
@@ -604,7 +604,7 @@ function __wbg_get_imports() {
return ret;
},
__wbindgen_generic_0000000000000004: function(arg0, arg1) {
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 77, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 76, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
const ret = makeClosure(arg0, arg1, wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke_______true_);
return ret;
},
diff --git a/dist/wipfel/wipfel_bg.wasm b/dist/wipfel/wipfel_bg.wasm
index 32ce3bc..c89fbba 100644
--- a/dist/wipfel/wipfel_bg.wasm
+++ b/dist/wipfel/wipfel_bg.wasm
Binary files differ