You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 19:11:41 +00:00
Fix uninteractable singular tab in TabBar
This commit is contained in:
@@ -222,7 +222,7 @@ void TabBar::gui_input(const Ref<InputEvent> &p_event) {
|
||||
}
|
||||
}
|
||||
|
||||
if (max_drawn_tab <= 0) {
|
||||
if (tabs.is_empty()) {
|
||||
// Return early if there are no actual tabs to handle input for.
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user