Merge pull request #23943 from Paulb23/fix_smoothscroll_jitter_issue_23314

Fix scroll bar lock when smooth scroll enabled, issue 23314
This commit is contained in:
Rémi Verschelde 2018-11-26 10:45:35 +01:00 committed by GitHub
commit f98a38540d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}