fixed being able to drive with options menu up, fixed brightness slider position

This commit is contained in:
KingGurke 2023-10-02 20:31:22 +02:00
parent cb434baca3
commit 919d276f5e
4 changed files with 10 additions and 9 deletions

View file

@ -1,6 +1,7 @@
extends HSlider
func _ready():
value = GlobalWorldEnvironment.environment.adjustment_brightness
func _on_value_changed(value):
print_debug("setting brightness to ", value)

View file

@ -131,7 +131,7 @@ horizontal_alignment = 1
custom_minimum_size = Vector2(125, 0)
layout_mode = 2
min_value = 0.01
max_value = 4.0
max_value = 2.0
step = 0.01
value = 1.0
script = ExtResource("4_gybdg")