This commit is contained in:
betalars 2024-02-14 02:18:49 +01:00
parent 08ff85d768
commit 736ad84dd0
1 changed files with 2 additions and 2 deletions

View File

@ -24,11 +24,11 @@ var has_stage = false:
set(focus):
if focus:
has_stage = true
self.mouse_filter = Control.MOUSE_FILTER_PASS
self.mouse_filter = Control.MOUSE_FILTER_PASS
get_tree().call_group("interactables", "collapse")
else:
has_stage = false
self.mouse_filter = Control.MOUSE_FILTER_IGNORE
self.mouse_filter = Control.MOUSE_FILTER_IGNORE
if is_node_ready():
if focus:
process_mode = Node.PROCESS_MODE_INHERIT