diff --git a/src/ts/scenes/optionsScene.ts b/src/ts/scenes/optionsScene.ts index 76cc935..47352e9 100644 --- a/src/ts/scenes/optionsScene.ts +++ b/src/ts/scenes/optionsScene.ts @@ -267,7 +267,7 @@ export default class Options extends HandScene { if (slider.label != undefined && slider.label.active) slider.label.setText('Camera Opacity: ' + slider.getStringValue()); this.configData[slider.key] = slider.getValue(); - this.setOpacity(this.configData[slider.key]); + this.setOpacity(this.configData[slider.key] as number); }; const cameraOpacitySlider = new Slider(