Slower scrolling for dropdown lists and scrollbars

This commit is contained in:
pelya
2014-07-20 00:35:07 +03:00
committed by Sergii Pylypenko
parent 6c9fffd545
commit 17f0f3d650
4 changed files with 11 additions and 5 deletions

View File

@@ -2398,7 +2398,7 @@ static EventState HandleScrollbarScrolling()
if (sb->disp_flags & ND_SCROLLBAR_BTN) {
if (_scroller_click_timeout == 1) {
_scroller_click_timeout = 3;
_scroller_click_timeout = SCROLLER_CLICK_DELAY;
sb->UpdatePosition(rtl == HasBit(sb->disp_flags, NDB_SCROLLBAR_UP) ? 1 : -1);
w->SetDirty();
}