Skip to content

Commit

Permalink
Fix demo
Browse files Browse the repository at this point in the history
  • Loading branch information
baku89 committed Oct 6, 2023
1 parent fd34a52 commit e1fb459
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions demo/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion demo/src/InputRange.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
type="range"
:min="min"
:max="max"
:step="step"
:step="step || 0.0001"
:value="modelValue"
:disabled="disabled"
@change="$emit('change', $event)"
Expand Down
2 changes: 1 addition & 1 deletion demo/src/TethrConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit e1fb459

Please sign in to comment.