settings, small fixes
This commit is contained in:
parent
b12c193636
commit
e08e3ebb13
174 changed files with 997 additions and 1040 deletions
|
|
@ -1,14 +1,13 @@
|
|||
extends NinePatchRect
|
||||
extends Control
|
||||
|
||||
@export var volume_slider : HSlider
|
||||
@export var fullscreen_check : CheckBox
|
||||
@export var vsync_check : CheckBox
|
||||
|
||||
@export var glow_check : CheckBox
|
||||
|
||||
func _ready():
|
||||
_update_settings()
|
||||
|
||||
#Settings.apply_all()
|
||||
|
||||
func _update_settings():
|
||||
volume_slider.value = Settings.master_volume
|
||||
|
|
@ -49,3 +48,7 @@ func _on_exit_button_pressed() -> void:
|
|||
func _on_continue_button_pressed() -> void:
|
||||
visible = false
|
||||
get_tree().paused = visible
|
||||
|
||||
|
||||
func _on_glow_toggled(enabled: bool) -> void:
|
||||
EventBus.change_glow.emit(enabled)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue