fix labels that do not match program style

This commit is contained in:
Persephone Bubblegum-Holiday 2025-08-14 15:18:48 -07:00
parent 5f157f386f
commit 3778dfb3f9
16 changed files with 56 additions and 43 deletions

View file

@ -7,12 +7,12 @@ func _ready():
$Backgrounds.get_child(randi() % $Backgrounds.get_child_count()).visible = true
$Buttons/EditorButton.grab_focus()
Globalvariables.loadConfig()
$SettingsScreen/DialogPanel/GraphicsPanel/FOVSlider.value = Globalvariables.FOV
$SettingsScreen/DialogPanel/GraphicsPanel/AAOption.selected = Globalvariables.msaa
$SettingsScreen/DialogPanel/GraphicsPanel/SSAAOption.selected = Globalvariables.ssaa
GlobalVariables.loadConfig()
$SettingsScreen/DialogPanel/GraphicsPanel/FOVSlider.value = GlobalVariables.FOV
$SettingsScreen/DialogPanel/GraphicsPanel/AAOption.selected = GlobalVariables.msaa
$SettingsScreen/DialogPanel/GraphicsPanel/SSAAOption.selected = GlobalVariables.ssaa
get_window().set_theme(load(Globalvariables.theme_index[Globalvariables.theme]))
get_window().set_theme(load(GlobalVariables.theme_index[GlobalVariables.theme]))
var moddir = DirAccess.open("user://Mods")
if moddir == null:
@ -48,7 +48,7 @@ func _on_button_pressed() -> void:
get_tree().change_scene_to_file("res://Scenes/GUI/EditorScreen.tscn")
func _on_exit_button_pressed() -> void:
Globalvariables.updateConfig()
GlobalVariables.updateConfig()
get_tree().quit()
func _on_credits_button_pressed() -> void:
@ -67,7 +67,7 @@ func _on_settings_button_pressed() -> void:
$SettingsScreen.visible = true
func _on_input_eater_pressed() -> void:
Globalvariables.updateConfig()
GlobalVariables.updateConfig()
$CreditsScreen.visible = false
$ControlsScreen.visible = false
$FreeRoamChooseScreen.visible = false