From 0dd65fff3b342f99bdfb9e4b432ea53c93137dcc Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Mon, 4 Oct 2021 10:37:53 -0300 Subject: [PATCH] Fix `Tabs` offset overreaching when scrolling fast --- scene/gui/tabs.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/gui/tabs.cpp b/scene/gui/tabs.cpp index ba8dba847c2..f305bf70136 100644 --- a/scene/gui/tabs.cpp +++ b/scene/gui/tabs.cpp @@ -156,6 +156,7 @@ void Tabs::gui_input(const Ref &p_event) { if (scrolling_enabled && buttons_visible) { if (missing_right) { offset++; + _ensure_no_over_offset(); // Avoid overreaching when scrolling fast. update(); } }