mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 08:42:21 +00:00
A weather row's play ran the world clock at whatever rate it had, and
going live set that back to 1, so the speed chosen on the timeline was
lost. The world clock now keeps its rate while paused and live, and the
timeline's speed sets it whenever it is chosen, so any play runs at it.
A row's play starts from the start of the covered time when live or at
its end, as the timeline's does, and does nothing while every product the
row shows is suspended, as its reduced-motion note says.
Live, the Weather panel's frame time is the newest of each product's
frames, suspended or not, so it no longer goes away under reduced motion,
on a hidden page or without an imagery host.
A weather layer made without a weather clock builds its own when first
enabled rather than when made, so a layer never turned on leaves the
world clock alone, and its own clock (createWeatherClock({ shared: false }))
leaves the world's time where it is when destroyed; only the last shared
weather clock sends the world live.
On the timeline, a zoom or a pan clears the hovered tick's label, a label
is never wider than the track and ends in an ellipsis, and a mark's label
is cut to 60 characters (WORLD_CLOCK_MARK_LABEL_LENGTH).
The changelog entry says what a row's step does, names the earthquake
layer's new exports and says it registers with the world clock.
3.4 KiB
3.4 KiB
- Timeline marks have labels. Hovering a tick shows its label (a launch's
mission name, or an earthquake's magnitude and place, such as
M6.4 · 113 km SSE of Lata, Solomon Islands), and a tap on or within 6 px of a tick goes exactly to its mark rather than to the point tapped; a tap elsewhere and a drag work as before. The arrow keys still step from mark to mark, and the handle then tells the mark's label with the time to screen readers and shows it over the track while focused. A layer's world clock coverage may give each mark as{ time, label, id, kind }as well as a bare time (a label over 60 characters,WORLD_CLOCK_MARK_LABEL_LENGTH, is cut, ending in…);worldClock.coverage()keepsmarksas the sorted times and addsmarkDetails, the merged marks themselves. A zoom or a pan clears the hovered label, and a label is never wider than the track (samehkhamis, #0000). - The timeline marks only events: launches, and earthquakes of magnitude 6
and up while the Earthquakes layer is on (about one every two days
worldwide). It no longer draws a tick for every weather frame, which came
every few minutes and made the track a wall of dashes; the weather frames
still set the time the timeline covers, and Play still waits at each next
frame until it loads. With no mark ahead, the arrow keys step along the
track. The map still draws every earthquake, and an earthquake layer never
widens the timeline beyond its strong quakes' own times. The Earthquakes
layer registers with the world clock (
gods-eye-view/time) once it is initialised, and has time to show only while on;gods-eye-view/layers/earthquakesaddsEARTHQUAKE_MARK_MAGNITUDE,earthquakeMagnitudeTitle,earthquakeMarkLabelandearthquakeCoverage. A weather row'sstepparam goes to the previous or next weather frame (samehkhamis, #0000). - The main timeline is the only time control. The Weather panel no longer
has a slider, step buttons, Latest or Play of its own; it shows the frame
time instead: the newest frame and its age while live, the timeline time
alone at a past time; while live it shows the newest frame even when the
products are suspended (reduced motion, a hidden page, no imagery host).
The timeline's Play runs the world clock at the chosen speed for weather
too, stopping at each next frame until it loads, rather than stepping the
observed frames every two seconds and going round from the last to the
first. A weather row's
playandlatestparams move the world clock as the timeline does:playruns at the timeline's chosen speed, from the start when live or at the end, and does nothing while every product the row shows is suspended. The world clock keeps a chosen rate while paused and live (goLive()no longer sets it back to 1), so any play runs at it. A weather layer made without a weather clock builds its own when first enabled, and destroying it leaves the world clock's time where it is (createWeatherClock({ shared: false })). Breaking: the catalog'sweatherClock(gods-eye-view/application/layers) no longer hassetTarget,step,latest,play,pauseortogglePlay, its state no longer hasplaying, and it no longer attaches itself to the world clock as a driver; move time with the world clock (gods-eye-view/time, alsoweatherClock.world) instead (samehkhamis, #0000).