You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Unfocus Control on NOTIFICATION_EXIT_TREE
This commit is contained in:
@@ -589,6 +589,7 @@ void Control::_notification(int p_notification) {
|
||||
_size_changed();
|
||||
} break;
|
||||
case NOTIFICATION_EXIT_TREE: {
|
||||
release_focus();
|
||||
get_viewport()->_gui_remove_control(this);
|
||||
} break;
|
||||
case NOTIFICATION_READY: {
|
||||
|
||||
Reference in New Issue
Block a user