diff --git a/demo/src/App.vue b/demo/src/App.vue index 2a16097..33bd90f 100644 --- a/demo/src/App.vue +++ b/demo/src/App.vue @@ -180,6 +180,7 @@ aside overflow-y scroll border-left 2px solid #2b2b2b grid-template-columns min-content 1fr + grid-template-rows repeat(10000, min-content) .connect-button, h2, dl grid-column 1 / 3 diff --git a/demo/src/InputRange.vue b/demo/src/InputRange.vue index 4757925..7b665b7 100644 --- a/demo/src/InputRange.vue +++ b/demo/src/InputRange.vue @@ -4,7 +4,7 @@ type="range" :min="min" :max="max" - :step="step" + :step="step || 0.0001" :value="modelValue" :disabled="disabled" @change="$emit('change', $event)" diff --git a/demo/src/TethrConfig.vue b/demo/src/TethrConfig.vue index ca7d45a..ae28dab 100644 --- a/demo/src/TethrConfig.vue +++ b/demo/src/TethrConfig.vue @@ -69,7 +69,7 @@ function update(e: Event) { const value = props.config.option.values[index] props.config.update(value) } else { - const value = parseInt(str) + const value = parseFloat(str) props.config.update(value) } }