npm update
This commit is contained in:
parent
7bd5bffab5
commit
232c027445
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
|
@ -23,7 +23,7 @@
|
||||||
"error-stack-parser": "^2.0.6",
|
"error-stack-parser": "^2.0.6",
|
||||||
"fast-png": "^5.0.4",
|
"fast-png": "^5.0.4",
|
||||||
"file-saver": "^2.0.5",
|
"file-saver": "^2.0.5",
|
||||||
"jquery": "^3.6.0",
|
"jquery": "^3.6.3",
|
||||||
"jszip": "^3.7.0",
|
"jszip": "^3.7.0",
|
||||||
"localforage": "^1.9.0",
|
"localforage": "^1.9.0",
|
||||||
"mousetrap": "^1.6.5",
|
"mousetrap": "^1.6.5",
|
||||||
|
@ -45,8 +45,8 @@
|
||||||
"bootstrap-tourist": "^0.2.1",
|
"bootstrap-tourist": "^0.2.1",
|
||||||
"btoa": "^1.2.x",
|
"btoa": "^1.2.x",
|
||||||
"command-exists": "^1.2.9",
|
"command-exists": "^1.2.9",
|
||||||
"esbuild": "^0.12.16",
|
"esbuild": "^0.12.29",
|
||||||
"jsdom": "^12.2.0",
|
"jsdom": "^21.1.0",
|
||||||
"lzg": "^1.0.x",
|
"lzg": "^1.0.x",
|
||||||
"mocha": "^9.2.0",
|
"mocha": "^9.2.0",
|
||||||
"mocha-simple-html-reporter": "^2.0.0",
|
"mocha-simple-html-reporter": "^2.0.0",
|
||||||
|
|
|
@ -349,7 +349,8 @@ class UISliderComponent extends Component<UIComponentProps> {
|
||||||
max: slider.max / slider.step,
|
max: slider.max / slider.step,
|
||||||
value: slider.value / slider.step,
|
value: slider.value / slider.step,
|
||||||
onInput: (ev) => {
|
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);
|
this.setState(this.state);
|
||||||
current_project.updateDataItems([{key: this.props.iokey, value: newUIValue}]);
|
current_project.updateDataItems([{key: this.props.iokey, value: newUIValue}]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue