mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Fix scroll bar lock when smooth scroll enabled, issue 23314
This commit is contained in:
@@ -330,6 +330,8 @@ void ScrollBar::_notification(int p_what) {
|
||||
|
||||
if (Math::abs(vel) >= dist) {
|
||||
set_value(target_scroll);
|
||||
scrolling = false;
|
||||
set_physics_process_internal(false);
|
||||
} else {
|
||||
set_value(get_value() + vel);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user