Merge pull request #115295 from Akosmo/hover-treeitem-fix
Reset drag unfold timer when mouse exits Tree
This commit is contained in:
commit
43fbc539dd
1 changed files with 3 additions and 0 deletions
|
|
@ -5001,6 +5001,9 @@ void Tree::_notification(int p_what) {
|
|||
|
||||
case NOTIFICATION_MOUSE_EXIT: {
|
||||
is_mouse_hovering = false;
|
||||
if (enable_drag_unfolding && drop_mode_over) {
|
||||
_reset_drop_mode_over();
|
||||
}
|
||||
// Clear hovered item cache.
|
||||
if (cache.hover_header_row || cache.hover_item != nullptr) {
|
||||
cache.hover_header_row = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue