Skip to content

Commit

Permalink
Fix TabContainer minimum size
Browse files Browse the repository at this point in the history
  • Loading branch information
WhalesState committed Sep 18, 2024
1 parent 922ae7e commit 2ff61e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/gui/tab_container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ Size2 TabContainer::get_minimum_size() const {
for (int i = 0; i < controls.size(); i++) {
Control *c = controls[i];

if (!c->is_visible_in_tree() && !use_hidden_tabs_for_min_size) {
if (!c->is_visible() && !use_hidden_tabs_for_min_size) {
continue;
}

Expand Down

0 comments on commit 2ff61e0

Please sign in to comment.