fix local font loading

This commit is contained in:
Face
2025-09-09 19:01:08 +03:00
parent 03f4db7a84
commit 9ca671ecd9
4 changed files with 122 additions and 60 deletions

View File

@@ -810,7 +810,6 @@ func register_font_dependent_element(label: Control, styles: Dictionary, element
})
func refresh_fonts(font_name: String) -> void:
# Find all elements that should use this font and refresh them
for element_info in font_dependent_elements:
var label = element_info["label"]
var styles = element_info["styles"]