mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-22 16:20:19 +01:00
Focus file browser by default
This commit is contained in:
parent
12e9aff7ff
commit
39577a94a7
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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"):
|
||||
|
|
Loading…
Reference in a new issue