A weather layer without a shared clock keeps its own on the world clock

Built without a weather clock, the weather layer still ran a frame replay
of its own: params.play stepped its frames every two seconds and went round
from the last to the first, params.step and params.latest picked frames
locally, and the layer tracked whether it followed the newest frame. That
was a second way to move time.

The layer now builds a weather clock on the page's world clock when none
is passed, and destroys it with the layer, so every layer follows the world
clock and its params move the world clock as the timeline does. The local
replay, its timer, the follow-latest flag, the wrap to the first frame, the
timerActive diagnostic and the reduced-motion "manual history available"
message are removed.
This commit is contained in:
Sameh Khamis committed 2026-11-14 20:26:26 -08:00
1 parent 3cfd414e70
commit 326cab4cf2
16 files changed
+141 -242

No files matched your search

-1
View File
@@ -1288,7 +1288,6 @@
"60°S–60°N · typically 2–3 h delayed": "60°S–60°N · 通常延迟 2–3 小时",
"North America · infrared imagery": "北美洲 · 红外影像",
"Reduced motion · history playback unavailable": "减弱动效 · 历史回放不可用",
"Reduced motion · manual history available": "减弱动效 · 可手动浏览历史",
"Rain radar · US": "降雨雷达 · 美国",
"Lightning density · 15 min": "闪电密度 · 15 分钟",
"Satellite clouds": "卫星云图",