diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-10-04 17:07:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-04 17:07:35 +0200 |
commit | 11c7bac1eda76a20158cf71d023bc9669ae50fbc (patch) | |
tree | ff5648852f4edb02f0477b505497d29aaf0e01d3 | |
parent | 865b62b1cddbb7989bc520eed2d8428c6923fee9 (diff) | |
parent | 0dd65fff3b342f99bdfb9e4b432ea53c93137dcc (diff) |
Merge pull request #53392 from YeldhamDev/tabs_offset_fix
-rw-r--r-- | scene/gui/tabs.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/tabs.cpp b/scene/gui/tabs.cpp index ba8dba847c..f305bf7013 100644 --- a/scene/gui/tabs.cpp +++ b/scene/gui/tabs.cpp @@ -156,6 +156,7 @@ void Tabs::gui_input(const Ref<InputEvent> &p_event) { if (scrolling_enabled && buttons_visible) { if (missing_right) { offset++; + _ensure_no_over_offset(); // Avoid overreaching when scrolling fast. update(); } } |