diff --git a/scene/gui/tab_bar.cpp b/scene/gui/tab_bar.cpp index d664bea1681..e1627a8dd77 100644 --- a/scene/gui/tab_bar.cpp +++ b/scene/gui/tab_bar.cpp @@ -255,12 +255,14 @@ void TabBar::gui_input(const Ref &p_event) { if (tabs[i].rb_rect.has_point(pos)) { rb_pressing = true; + _update_hover(); queue_redraw(); return; } if (tabs[i].cb_rect.has_point(pos) && (cb_displaypolicy == CLOSE_BUTTON_SHOW_ALWAYS || (cb_displaypolicy == CLOSE_BUTTON_SHOW_ACTIVE_ONLY && i == current))) { cb_pressing = true; + _update_hover(); queue_redraw(); return; }