From 9e57c359b769bef1a5659079b7c4fdccee08d4cb Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Sat, 24 Nov 2018 14:01:34 +0000 Subject: Fix scroll bar lock when smooth scroll enabled, issue 23314 --- scene/gui/scroll_bar.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scene/gui/scroll_bar.cpp b/scene/gui/scroll_bar.cpp index 07380f45cc..0e68476439 100644 --- a/scene/gui/scroll_bar.cpp +++ b/scene/gui/scroll_bar.cpp @@ -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); } -- cgit v1.2.3