diff options
| author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-10-28 09:25:36 +0100 |
|---|---|---|
| committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-10-28 10:34:53 +0100 |
| commit | 8b87a9d31c966b431e9547bcc411f9da7f3c527a (patch) | |
| tree | fa01e8e323f4dcd26baf20d1ef9fd16a197e224a /dist/wipfel | |
| parent | f0cf0c3e95ca0518de754f7915458bd90e8abf32 (diff) | |
web: load an alternative hill database from the UI
Secondary button under the database status line: picks a .dat (or
gzipped) peak list at runtime — e.g. a regional file like everest.dat
instead of the full 21k gipfel.dat. Markers and track reference hill
indices, so they are dropped when the database is swapped.
Diffstat (limited to 'dist/wipfel')
| -rw-r--r-- | dist/wipfel/style.css | 9 | ||||
| -rw-r--r-- | dist/wipfel/wipfel.js | 4 | ||||
| -rw-r--r-- | dist/wipfel/wipfel_bg.wasm | bin | 519240 -> 523068 bytes |
3 files changed, 11 insertions, 2 deletions
diff --git a/dist/wipfel/style.css b/dist/wipfel/style.css index 80c4d15..9ed7bd8 100644 --- a/dist/wipfel/style.css +++ b/dist/wipfel/style.css @@ -163,6 +163,15 @@ body { .sidebar button:hover { background: var(--btn-hover); } +.sidebar button.secondary { + background: var(--chip-bg); + color: var(--text); + font-size: 13px; + padding: 6px 10px; +} +.sidebar button.secondary:hover { + background: var(--chip-hover); +} .status { font-size: 13px; color: var(--text-dim); diff --git a/dist/wipfel/wipfel.js b/dist/wipfel/wipfel.js index b27047b..f3c4b1b 100644 --- a/dist/wipfel/wipfel.js +++ b/dist/wipfel/wipfel.js @@ -623,7 +623,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: 72, 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_fd3e5a073eeae266___features__gen_ResizeObserver__ResizeObserver______true_); return ret; }, @@ -633,7 +633,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: 74, 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 Binary files differindex d35f0ae..83fe2ec 100644 --- a/dist/wipfel/wipfel_bg.wasm +++ b/dist/wipfel/wipfel_bg.wasm |
