From d126648749b103376c233c1df24346a941c70eb4 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Tue, 27 Oct 2026 16:57:34 +0100 Subject: web: dev script must copy index.html too (viewport meta never deployed) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit serve-here.sh only refreshed style.css and the wasm bundle, so the viewport meta change that frees the pinch gesture for the app never reached the served page. Copy the loader page as well, and surface the status line as a small overlay over the canvas when the control panel is collapsed (mobile) — this is also where the pinch pointer diagnostics become visible on phones. --- dist/wipfel/style.css | 15 +++++++++++++++ dist/wipfel/wipfel_bg.wasm | Bin 510826 -> 511017 bytes 2 files changed, 15 insertions(+) (limited to 'dist') diff --git a/dist/wipfel/style.css b/dist/wipfel/style.css index a0ffc4d..baceb49 100644 --- a/dist/wipfel/style.css +++ b/dist/wipfel/style.css @@ -63,6 +63,21 @@ body { .nav-toggle:hover { background: rgba(59, 111, 212, 0.9); } +.canvasstatus { + position: absolute; + bottom: 6px; + left: 8px; + right: 8px; + font-size: 11px; + color: #e8e8ea; + background: rgba(16, 16, 20, 0.7); + padding: 3px 8px; + border-radius: 5px; + pointer-events: none; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} .sidebar h1 { margin: 0; font-size: 22px; diff --git a/dist/wipfel/wipfel_bg.wasm b/dist/wipfel/wipfel_bg.wasm index 6c751d3..7b291aa 100644 Binary files a/dist/wipfel/wipfel_bg.wasm and b/dist/wipfel/wipfel_bg.wasm differ -- cgit v1.2.3