mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-11 13:50:48 -05:00
Avoid needles updates when using continious scrolling
This commit is contained in:
parent
bd412b9975
commit
6070826c4d
1 changed files with 5 additions and 2 deletions
|
@ -888,8 +888,11 @@ static unsigned int rofi_scroll_continious ( RofiViewState * state )
|
|||
offset = state->filtered_lines - state->menu_lines;
|
||||
}
|
||||
}
|
||||
state->rchanged = TRUE;
|
||||
scrollbar_set_handle ( state->scrollbar, offset );
|
||||
if ( offset != state->cur_page ) {
|
||||
state->rchanged = TRUE;
|
||||
scrollbar_set_handle ( state->scrollbar, offset );
|
||||
state->cur_page = offset;
|
||||
}
|
||||
return offset;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue