fix labels that do not match program style
This commit is contained in:
parent
5f157f386f
commit
3778dfb3f9
16 changed files with 56 additions and 43 deletions
|
@ -3,8 +3,8 @@ extends Panel
|
|||
@export var thisTab = 1
|
||||
|
||||
func _ready() -> void:
|
||||
$ScalingOption.select(Globalvariables.scaling)
|
||||
$ThemeOption.select(Globalvariables.theme)
|
||||
$ScalingOption.select(GlobalVariables.scaling)
|
||||
$ThemeOption.select(GlobalVariables.theme)
|
||||
|
||||
func _on_tab_bar_tab_changed(tab: int) -> void:
|
||||
if (thisTab == tab):
|
||||
|
@ -13,11 +13,11 @@ func _on_tab_bar_tab_changed(tab: int) -> void:
|
|||
visible = false
|
||||
|
||||
func _on_scaling_option_item_selected(index: int) -> void:
|
||||
Globalvariables.scaling = index
|
||||
GlobalVariables.scaling = index
|
||||
get_window().content_scale_mode = index as Window.ContentScaleMode
|
||||
Globalvariables.updateConfig()
|
||||
GlobalVariables.updateConfig()
|
||||
|
||||
func _on_theme_option_item_selected(index: int) -> void:
|
||||
Globalvariables.theme = index
|
||||
get_window().set_theme(load(Globalvariables.theme_index[Globalvariables.theme]))
|
||||
Globalvariables.updateConfig()
|
||||
GlobalVariables.theme = index
|
||||
get_window().set_theme(load(GlobalVariables.theme_index[GlobalVariables.theme]))
|
||||
GlobalVariables.updateConfig()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue