1
0
Fork 0

check if stopped

This commit is contained in:
suddjian 2025-02-19 15:32:17 -08:00
parent 57cc0a019b
commit 8bacf30ca8
1 changed files with 3 additions and 1 deletions

View File

@ -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 {