Merge pull request #54152 from bjauny/fix_treenotification
This commit is contained in:
commit
5a48cba649
@ -2795,8 +2795,10 @@ int Tree::_get_title_button_height() const {
|
||||
|
||||
void Tree::_notification(int p_what) {
|
||||
if (p_what == NOTIFICATION_FOCUS_ENTER) {
|
||||
if (get_tree()) {
|
||||
focus_in_id = get_tree()->get_event_count();
|
||||
}
|
||||
}
|
||||
if (p_what == NOTIFICATION_MOUSE_EXIT) {
|
||||
if (cache.hover_type != Cache::CLICK_NONE) {
|
||||
cache.hover_type = Cache::CLICK_NONE;
|
||||
|
Loading…
Reference in New Issue
Block a user