Scope weather effects
Scope objects
Scope selection changes
This commit is contained in:
fraxle
2026-06-07 01:44:53 +01:00
parent f22833ee63
commit 1459740d96
7 changed files with 411 additions and 72 deletions
+5 -1
View File
@@ -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>
+333 -13
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -338,6 +338,7 @@ export function DayTabs({
: `${band.label} · day ${i + 1} of 14`}
style=${{
background: isActive ? wBgActive : wBg,
'--w-bg-active': wBgActive,
color: wText,
borderTop: '1px solid #c9b08a',
borderRight: 'none',