mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
fix(cyclones): cards leave the map with their storms; null advisory values are left out
The world overlay drew on desynchronized 2D contexts. After a frame that only clears, Chrome could present an earlier buffer, so storm cards and forecast lead-hour labels stayed on screen when a snapshot without storms (or an unavailable one) replaced them, although the overlay held no entries and cleared every frame. Both overlay surfaces now use ordinary contexts. The storm readout no longer prints "Unavailable" for a null value: an advisory without pressure shows only its maximum sustained wind, one without wind only its pressure, and one without either has no intensity line. The advisory link stays hidden when an advisory has no link.
This commit is contained in:
1 parent
9b8f45e62b
commit
7b4b4d4184
17 files changed
+128
-16
No files matched your search
@@ -1333,6 +1333,8 @@
|
||||
},
|
||||
"Position as of {time}": "Posición a las {time}",
|
||||
"Maximum sustained wind: {wind} · Pressure: {pressure}": "Viento máximo sostenido: {wind} · Presión: {pressure}",
|
||||
"Maximum sustained wind: {wind}": "Viento máximo sostenido: {wind}",
|
||||
"Pressure: {pressure}": "Presión: {pressure}",
|
||||
"{name} · {classification} · Advisory {number} · issued {time}": "{name} · {classification} · Aviso {number} · emitido {time}",
|
||||
"No active NHC/CPHC systems": "Sin sistemas activos del NHC/CPHC",
|
||||
"Advisories unavailable": "Avisos no disponibles",
|
||||
|
||||
Reference in new issue
Block a user