Make level dropdown font prettier, too

This commit is contained in:
Sebastian Morr 2020-09-14 19:37:51 +02:00
parent e9c3217015
commit 148b1be477

View file

@ -18,6 +18,8 @@ func _ready():
for level in list_levels():
options.add_item(level)
options.connect("id_pressed", self, "load_level")
$LevelSelect.theme = Theme.new()
$LevelSelect.theme.default_font = load("res://fonts/default.tres")
# Initialize TCP server for fake editor.
server = TCP_Server.new()