Fix scroll bar lock when smooth scroll enabled, issue 23314
This commit is contained in:
parent
8348aca118
commit
9e57c359b7
@ -330,6 +330,8 @@ void ScrollBar::_notification(int p_what) {
|
|||||||
|
|
||||||
if (Math::abs(vel) >= dist) {
|
if (Math::abs(vel) >= dist) {
|
||||||
set_value(target_scroll);
|
set_value(target_scroll);
|
||||||
|
scrolling = false;
|
||||||
|
set_physics_process_internal(false);
|
||||||
} else {
|
} else {
|
||||||
set_value(get_value() + vel);
|
set_value(get_value() + vel);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user