You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Fix Tabs offset overreaching when scrolling fast
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user