Skip to content

Commit

Permalink
Update optionsScene.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
martinstarkov committed May 22, 2024
1 parent fc969a7 commit 953d8d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ts/scenes/optionsScene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 953d8d5

Please sign in to comment.