mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
[RTL] Improve scroll bar responsiveness during updates.
This commit is contained in:
@@ -428,6 +428,14 @@ void ScrollBar::_notification(int p_what) {
|
||||
}
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_VISIBILITY_CHANGED: {
|
||||
if (!is_visible()) {
|
||||
incr_active = false;
|
||||
decr_active = false;
|
||||
drag.active = false;
|
||||
}
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_MOUSE_EXIT: {
|
||||
highlight = HIGHLIGHT_NONE;
|
||||
queue_redraw();
|
||||
|
||||
Reference in New Issue
Block a user