add theming support, fix ui issues, add ui scaling option
This commit is contained in:
parent
61806723ba
commit
1ced41d096
18 changed files with 259 additions and 49 deletions
|
@ -8,12 +8,12 @@ func _ready():
|
|||
$Buttons/EditorButton.grab_focus()
|
||||
|
||||
Globalvariables.loadConfig()
|
||||
print(Globalvariables.FOV)
|
||||
print(Globalvariables.msaa)
|
||||
$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]))
|
||||
|
||||
var moddir = DirAccess.open("user://Mods")
|
||||
if moddir == null:
|
||||
print("Mod folder was not found. Creating.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue