Map values toFixed(1) and round option

This commit is contained in:
Guntis Smaukstelis
2025-03-20 22:17:28 +02:00
parent 24a2ff5868
commit 1742931a20
3 changed files with 11 additions and 11 deletions
+10
View File
@@ -84,6 +84,16 @@ export const MapView: Component<{ type: MapResolution, data: () => ResultKeyVal[
<>
<div class="grid-1-2">
<div>
<div>
<label>
<input
type="checkbox"
checked={windSignals.roundValues[0]()}
onChange={e => windSignals.roundValues[1](e.target.checked)}
/>
Round values
</label>
</div>
{ props.showWind && <WindInputs signals={windSignals} /> }
</div>
<div><IconInputs weatherIconsSingal={weatherIconsSingal} /></div>