diff options
Diffstat (limited to 'libview')
-rw-r--r-- | libview/ev-view.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c index e66b1f23..c76e5541 100644 --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -754,7 +754,8 @@ view_update_range_and_current_page (EvView *view) } } - if (view->pending_scroll == SCROLL_TO_KEEP_POSITION) { + if (view->pending_scroll == SCROLL_TO_KEEP_POSITION || + view->pending_scroll == SCROLL_TO_FIND_LOCATION) { best_current_page = MAX (best_current_page, view->start_page); if (best_current_page >= 0 && view->current_page != best_current_page) { |