Merge pull request #44831 from gongpha/dont-update-tree-if-selected

Blocking updating in SceneTreeEditor when an item was selected
This commit is contained in:
Rémi Verschelde 2021-05-06 08:45:41 +02:00 committed by GitHub
commit 605e33cf39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 0 deletions

View file

@ -3013,6 +3013,10 @@ bool Tree::edit_selected() {
return false;
}
bool Tree::is_editing() {
return popup_editor->is_visible();
}
Size2 Tree::get_internal_min_size() const {
Size2i size = cache.bg->get_offset();
if (root) {