Skip to content

Commit

Permalink
[apps/picker] input number step
Browse files Browse the repository at this point in the history
  • Loading branch information
sidewayss authored and LeaVerou committed Feb 6, 2024
1 parent a9c5d0d commit 35a6ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/picker/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h1>
<label v-for="(meta, i) in coord_meta" class="color-slider-label">
{{ meta.name }} ({{ meta.min }}-{{ meta.max }})
<input class="color-slider" type="range" v-model.number="coords[i]" :style="`--stops: ${ slider_steps[i] }`" :min="meta.min" :max="meta.max" :step="meta.step" />
<input type="number" v-model.number="coords[i]" class="autosize" :style="`--percentage: ${coords[i] / (meta.max - meta.min) }`" :min="meta.min" :max="meta.max" />
<input type="number" v-model.number="coords[i]" class="autosize" :style="`--percentage: ${coords[i] / (meta.max - meta.min) }`" :min="meta.min" :max="meta.max :step="meta.step" />
</label>

<label class="color-slider-label">Alpha (0-100)
Expand Down

0 comments on commit 35a6ac5

Please sign in to comment.