X Tutup
Skip to content

Commit 5220109

Browse files
committed
final 1.4.3 commit
1 parent 2d4c26d commit 5220109

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Scripts/AutoLoads/Settings.gd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ func _ready():
173173
Engine.max_physics_steps_per_frame = theme_settings.phys_steps
174174
Global.dev_mode.emit(theme_settings.dev_mode)
175175

176-
177176
func update_tracking_backend():
178177
match theme_settings.backend_type:
179178
"default":
@@ -214,7 +213,7 @@ func lipsync_set_up():
214213
LipSyncGlobals.load_file(theme_settings.lipsync_file_path)
215214

216215
func scale_window():
217-
get_tree().root.content_scale_factor = theme_settings.ui_scaling
216+
get_tree().get_root().get_window().content_scale_factor = theme_settings.ui_scaling
218217

219218
func window_size_changed():
220219
Settings.theme_settings.screen_size = get_window().size

0 commit comments

Comments
 (0)
X Tutup