WIP: fix #161 prevent board from crashing while no sticky note had been selected yet
This commit is contained in:
parent
3786cb1821
commit
96e799f73e
|
|
@ -27,6 +27,9 @@ var has_stage = false:
|
||||||
if focus:
|
if focus:
|
||||||
has_stage = true
|
has_stage = true
|
||||||
get_tree().call_group("interactables", "collapse")
|
get_tree().call_group("interactables", "collapse")
|
||||||
|
current_dropzone_id = 0
|
||||||
|
current_sticky_note_id = 0
|
||||||
|
focus_stickies = true
|
||||||
else:
|
else:
|
||||||
has_stage = false
|
has_stage = false
|
||||||
if is_node_ready():
|
if is_node_ready():
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue