diff options
| author | metamuffin <metamuffin@disroot.org> | 2024-09-07 11:38:13 +0200 | 
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2024-09-07 11:38:13 +0200 | 
| commit | 66eb933df271eaca4df6201c55bb678275abf9df (patch) | |
| tree | eabb509b1612f8ddf6b5f53b73b3e3fd5692a7f1 /client/settings.gd | |
| parent | 7f559afc6307d628ca56de175486323d587d71a8 (diff) | |
| download | hurrycurry-66eb933df271eaca4df6201c55bb678275abf9df.tar hurrycurry-66eb933df271eaca4df6201c55bb678275abf9df.tar.bz2 hurrycurry-66eb933df271eaca4df6201c55bb678275abf9df.tar.zst | |
fix remaining settings
Diffstat (limited to 'client/settings.gd')
| -rw-r--r-- | client/settings.gd | 5 | 
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) | 
