Slower scrolling for dropdown lists and scrollbars

This commit is contained in:
pelya
2014-07-20 00:35:07 +03:00
parent fb567341fc
commit 7991048105
4 changed files with 11 additions and 5 deletions

View File

@@ -2395,7 +2395,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();
}