Focus file browser by default

This commit is contained in:
blinry 2020-11-24 10:16:19 +01:00
parent 12e9aff7ff
commit 39577a94a7
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ func read_from_file():
position.y = float(attributes["y"])
else:
position.y = rand_range(100, 300)
write_to_file()
#write_to_file()
func write_to_file():
attributes["x"] = str(position.x)

View file

@ -44,7 +44,7 @@ func _ready():
# Load first chapter.
load_chapter(current_chapter)
input.grab_focus()
file_browser.grab_focus()
func _input(event):
if event.is_action_pressed("tab"):