aboutsummaryrefslogtreecommitdiff
path: root/client/settings.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/settings.gd')
-rw-r--r--client/settings.gd5
1 files changed, 2 insertions, 3 deletions
diff --git a/client/settings.gd b/client/settings.gd
index ade51262..bfa25a00 100644
--- a/client/settings.gd
+++ b/client/settings.gd
@@ -52,7 +52,7 @@ static func get_root():
RangeSetting.new("sfx_volume", 0, -30, 0),
]),
SettingsCategory.new("ui", [
- DropdownSetting.new("touch_controls", 0, ["automatic", "enabled", "disabled"]),
+ DropdownSetting.new("touch_controls", "automatic", ["automatic", "enabled", "disabled"]),
DropdownSetting.new("language", "system", Global.language_list()),
DropdownSetting.new("scale_mode", "resize", ["resize", "disabled"]),
RangeSetting.new("scale_factor", 1. if not Global.on_mobile() else 1.5, 0.5, 1.5, 3),
@@ -110,7 +110,7 @@ static func h_taa(enabled):
static func h_scale_mode(mode: String):
match mode:
- "scale": Global.get_tree().root.content_scale_mode = Window.CONTENT_SCALE_MODE_CANVAS_ITEMS
+ "resize": Global.get_tree().root.content_scale_mode = Window.CONTENT_SCALE_MODE_CANVAS_ITEMS
"disabled": Global.get_tree().root.content_scale_mode = Window.CONTENT_SCALE_MODE_DISABLED
static func h_scale_factor(value: float):
@@ -127,7 +127,6 @@ static func h_touch(mode: String):
Global.using_touch_change.emit()
static func h_language(language: String):
- print("STELANG ", language)
if language == "system": language = OS.get_locale_language()
TranslationServer.set_locale(language)