zoom has steps and allows < 1
This commit is contained in:
parent
907f323583
commit
4a208f6078
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
<div id="player">
|
<div id="player">
|
||||||
<div>
|
<div>
|
||||||
<label for="zoom">Zoom:</label>
|
<label for="zoom">Zoom:</label>
|
||||||
<input type="number" min="1" :max="50" value="1" class="slider" v-model.number="zoom" id="zoom">
|
<input type="number" min="0.01" value="1" step="0.1" class="slider" v-model.number="zoom" id="zoom">
|
||||||
</div>
|
</div>
|
||||||
<div id="player-canvas-container">
|
<div id="player-canvas-container">
|
||||||
<canvas ref="canvas" id="player-canvas"
|
<canvas ref="canvas" id="player-canvas"
|
||||||
|
|
Loading…
Reference in a new issue