Merge pull request #48529 from besh81/master

Fixed bug in tab_container with hidden tabs
This commit is contained in:
Rémi Verschelde 2021-05-07 14:39:28 +02:00 committed by GitHub
commit af82dddb8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -394,6 +394,7 @@ void TabContainer::_notification(int p_what) {
Vector<int> tab_widths;
for (int i = first_tab_cache; i < tabs.size(); i++) {
if (get_tab_hidden(i)) {
tab_widths.push_back(0);
continue;
}
int tab_width = _get_tab_width(i);