Sliders now have better max and min values

And they also have fixed increments
This commit is contained in:
Pax1601
2023-03-22 09:11:12 +01:00
parent b980431aed
commit f1344b600c
3 changed files with 42 additions and 11 deletions

View File

@@ -25,7 +25,7 @@
<dt>Speed</dt>
<dd class="flight-control-value" id="value">451kts</dd>
</dl>
<input type="range" min="1" max="100" value="0" class="slider">
<input type="range" min="0" max="100" value="0" class="slider">
</div>
<div class="slider-container flight-control-slider" id="altitude-slider">
@@ -33,7 +33,7 @@
<dt>Altitude</dt>
<dd class="flight-control-value" id="value">21,594ft</dd>
</dl>
<input type="range" min="1" max="100" value="0" class="slider">
<input type="range" min="0" max="100" value="0" class="slider">
</div>
</div>