aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/tree.cpp
diff options
context:
space:
mode:
authorMariano Javier Suligoy2015-08-24 21:33:00 -0300
committerMariano Javier Suligoy2015-08-24 21:33:00 -0300
commit54291c655db3346aedb875b3c375c0f759d90043 (patch)
treea188d763d25ceb0b1d12590f1f6f71633c4a79c7 /scene/gui/tree.cpp
parent3a83337420c3e6c7e5f3a52cee49aa2eb17cab2d (diff)
parent0d77277a860f56b5f596c3d930ec2209cee95517 (diff)
downloadgodot-54291c655db3346aedb875b3c375c0f759d90043.tar.gz
godot-54291c655db3346aedb875b3c375c0f759d90043.tar.zst
godot-54291c655db3346aedb875b3c375c0f759d90043.zip
Merge branch 'master' of https://github.com/okamstudio/godot
Diffstat (limited to 'scene/gui/tree.cpp')
-rw-r--r--scene/gui/tree.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp
index 6c15f1cae..4feb03fee 100644
--- a/scene/gui/tree.cpp
+++ b/scene/gui/tree.cpp
@@ -2360,6 +2360,11 @@ void Tree::_notification(int p_what) {
}
}
+ if (p_what==NOTIFICATION_VISIBILITY_CHANGED) {
+
+ drag_touching=false;
+ }
+
if (p_what==NOTIFICATION_ENTER_TREE) {
update_cache();;