1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-05-30 06:41:33 +00:00

npm update

This commit is contained in:
Steven Hugg 2023-02-15 17:24:09 -05:00
parent 7bd5bffab5
commit 232c027445
4 changed files with 3425 additions and 4637 deletions

File diff suppressed because one or more lines are too long

8049
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -23,7 +23,7 @@
"error-stack-parser": "^2.0.6",
"fast-png": "^5.0.4",
"file-saver": "^2.0.5",
"jquery": "^3.6.0",
"jquery": "^3.6.3",
"jszip": "^3.7.0",
"localforage": "^1.9.0",
"mousetrap": "^1.6.5",
@ -45,8 +45,8 @@
"bootstrap-tourist": "^0.2.1",
"btoa": "^1.2.x",
"command-exists": "^1.2.9",
"esbuild": "^0.12.16",
"jsdom": "^12.2.0",
"esbuild": "^0.12.29",
"jsdom": "^21.1.0",
"lzg": "^1.0.x",
"mocha": "^9.2.0",
"mocha-simple-html-reporter": "^2.0.0",

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}]);
}