You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-27 15:57:02 +00:00
Reset buttons_visible to false while tabs is empty in TabBar::_update_cache
This commit is contained in:
@@ -862,6 +862,7 @@ void TabBar::_update_hover() {
|
|||||||
|
|
||||||
void TabBar::_update_cache() {
|
void TabBar::_update_cache() {
|
||||||
if (tabs.is_empty()) {
|
if (tabs.is_empty()) {
|
||||||
|
buttons_visible = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user