mirror of https://github.com/godotengine/godot
check if stopped
This commit is contained in:
parent
57cc0a019b
commit
8bacf30ca8
|
|
@ -5744,7 +5744,9 @@ bool Tree::is_recursive_folding_enabled() const {
|
|||
|
||||
void Tree::set_enable_drag_unfolding(bool p_enable) {
|
||||
enable_drag_unfolding = p_enable;
|
||||
dropping_unfold_timer->stop();
|
||||
if (!dropping_unfold_timer->is_stopped()) {
|
||||
dropping_unfold_timer->stop();
|
||||
}
|
||||
}
|
||||
|
||||
bool Tree::is_drag_unfolding_enabled() const {
|
||||
|
|
|
|||
Loading…
Reference in New Issue