|
@@ -23,7 +23,7 @@ func _ready() -> void:
|
|
func disable() -> void:
|
|
func disable() -> void:
|
|
set_process_unhandled_key_input(false)
|
|
set_process_unhandled_key_input(false)
|
|
|
|
|
|
- if processing_keep_when_disabled:
|
|
|
|
|
|
+ if processing_keep_when_disabled or get_parent() is Window:
|
|
return
|
|
return
|
|
get_children().all(disable_processing)
|
|
get_children().all(disable_processing)
|
|
|
|
|