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:
@@ -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}]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user