summaryrefslogtreecommitdiff
path: root/dist/wipfel/wipfel.js
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-28 08:24:03 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-28 08:24:03 +0100
commit5b0da20a5a2c14060d8f41c7f096778f621c01bc (patch)
tree883c82f7c9768779b3c8f1d2715a7d50c08dc28c /dist/wipfel/wipfel.js
parent4626a87f1815e998dfdd25e6d3826726bc912ca2 (diff)
web: usability pass — panel state, conditional buttons, track placement, hover distance
- control panel starts open on all screen sizes (so the image picker is reachable on phones); it auto-collapses on narrow screens once an image is loaded - 'Fit to window' and the whole Track section only appear when an image is loaded - Track section moved directly below Display, above the pinned info texts (which now carry the margin-top: auto) - hover readout shows the distance to the peak in km, matching the desktop format 'name · height m · dist km'
Diffstat (limited to 'dist/wipfel/wipfel.js')
-rw-r--r--dist/wipfel/wipfel.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/wipfel/wipfel.js b/dist/wipfel/wipfel.js
index 648289c..a3a8c29 100644
--- a/dist/wipfel/wipfel.js
+++ b/dist/wipfel/wipfel.js
@@ -605,7 +605,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: 74, 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: 72, 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;
},
@@ -615,7 +615,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: 76, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 74, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
const ret = makeClosure(arg0, arg1, wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke_______true_);
return ret;
},