[RTL] Improve scroll bar responsiveness during updates.
This commit is contained in:
parent
0308422f46
commit
3709ca5404
2 changed files with 20 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue