From 953d8d5d8f8301c4e9ca6063b2b1b0d444b24baa Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 22 May 2024 16:25:31 +0200 Subject: [PATCH] Update optionsScene.ts --- src/ts/scenes/optionsScene.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(