fix: first-load rendering for Waterfall CSS and WebSDR globe

- Waterfall: load waterfall.css eagerly in <head> instead of lazily on
  mode switch; the lazy inject raced with the panel becoming visible,
  leaving unstyled HTML for up to 20 s on cold cache
- WebSDR: await a requestAnimationFrame before calling Globe()(mapEl) so
  the browser has committed the display:flex layout and clientWidth/
  clientHeight are non-zero; previously the globe WebGL renderer was
  created at 0×0 (especially on warm-cache refreshes) and could not
  recover via the deferred resize calls
- Bump version to 2.22.2

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-02-23 20:25:05 +00:00
parent b1993847b5
commit 4e67b77714
4 changed files with 30 additions and 3 deletions

View File

@@ -7,10 +7,18 @@ import os
import sys
# Application version
VERSION = "2.22.1"
VERSION = "2.22.2"
# Changelog - latest release notes (shown on welcome screen)
CHANGELOG = [
{
"version": "2.22.2",
"date": "February 2026",
"highlights": [
"Waterfall control panel no longer shows as unstyled text on first visit",
"WebSDR globe renders correctly on first page load without requiring a refresh",
]
},
{
"version": "2.22.1",
"date": "February 2026",