fix(theme): fix regular font resource

This commit is contained in:
Leroy Hopson 2024-04-06 23:56:01 +13:00
parent 4bd25bb92c
commit 898d49e392
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
2 changed files with 7 additions and 16 deletions

View file

@ -17,7 +17,9 @@ func pick_cell_color(cell := Vector2i(0, 0)) -> Color:
func before_each():
subject = described_class.new()
subject.add_theme_font_override("normal_font", preload("res://themes/fonts/regular.tres"))
subject.add_theme_font_override(
"normal_font", preload("res://addons/godot_xterm/themes/fonts/regular.tres")
)
subject.set_anchors_and_offsets_preset(Control.PRESET_FULL_RECT)
watch_signals(subject)
call_deferred("add_child_autofree", subject)