1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2026-04-21 06:16:43 +00:00

Deploying to gh-pages from @ sehugg/8bitworkshop@232c027445 🚀

This commit is contained in:
sehugg
2023-02-27 18:45:41 +00:00
parent f9a64d4639
commit eb17b23dea
60 changed files with 3700 additions and 4851 deletions
+2 -1
View File
@@ -349,7 +349,8 @@ class UISliderComponent extends Component<UIComponentProps> {
max: slider.max / slider.step,
value: slider.value / slider.step,
onInput: (ev) => {
let newUIValue = { value: parseFloat(ev.target.value) * slider.step };
let target = ev.target as HTMLInputElement; // TODO
let newUIValue = { value: parseFloat(target.value) * slider.step };
this.setState(this.state);
current_project.updateDataItems([{key: this.props.iokey, value: newUIValue}]);
}