2.9
Scope weather effects Scope objects Scope selection changes
This commit is contained in:
+5
-1
@@ -526,11 +526,15 @@ export function UTCIForecast() {
|
||||
precip=${scopeRow?.precip ?? 0}
|
||||
snow=${scopeRow?.snow ?? 0}
|
||||
visKm=${scopeRow?.visKm ?? null}
|
||||
env=${utciEnv}
|
||||
wind=${scopeRow?.va ?? 0}
|
||||
gust=${scopeRow?.gust ?? 0}
|
||||
wd=${scopeRow?.wd ?? null}
|
||||
/>
|
||||
${hourlyRows.length > 0 && html`
|
||||
<button type="button"
|
||||
class=${`scope-play ${playing ? 'is-playing' : ''}`}
|
||||
onClick=${() => setPlaying(p => !p)}
|
||||
onClick=${() => { if (playing) { setPlaying(false); setSimMs(null); } else setPlaying(true); }}
|
||||
title=${playing ? 'Stop time-lapse' : 'Play a 24-hour time-lapse on the scope'}>
|
||||
<span class="scope-play-icon">${playing ? '◼' : '▶'}</span>
|
||||
<span class="scope-play-label">${playing ? simClock : 'Day cycle'}</span>
|
||||
|
||||
Reference in New Issue
Block a user