fixed being able to drive with options menu up, fixed brightness slider position
This commit is contained in:
parent
cb434baca3
commit
919d276f5e
4 changed files with 10 additions and 9 deletions
|
|
@ -1,6 +1,7 @@
|
|||
extends HSlider
|
||||
|
||||
|
||||
func _ready():
|
||||
value = GlobalWorldEnvironment.environment.adjustment_brightness
|
||||
|
||||
func _on_value_changed(value):
|
||||
print_debug("setting brightness to ", value)
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue