summaryrefslogtreecommitdiff
path: root/libview
diff options
context:
space:
mode:
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-view.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 2e8f686c..befef632 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -758,8 +758,7 @@ view_update_range_and_current_page (EvView *view)
}
}
- if (view->pending_scroll == SCROLL_TO_KEEP_POSITION ||
- view->pending_scroll == SCROLL_TO_FIND_LOCATION) {
+ if (view->pending_scroll == SCROLL_TO_KEEP_POSITION) {
best_current_page = MAX (best_current_page, view->start_page);
if (best_current_page >= 0 && view->current_page != best_current_page) {