summaryrefslogtreecommitdiff
path: root/libview
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-01-02 16:09:23 +0100
committerraveit65 <[email protected]>2018-01-02 16:09:23 +0100
commite086a31ebe4c0994fbe88904e23c2bb96b84eb8a (patch)
tree91799328c01841149afc8415c91ecee8436b18f4 /libview
parent2647b132fa092489c2dd5fb5275e945dcdd27e3c (diff)
downloadatril-e086a31ebe4c0994fbe88904e23c2bb96b84eb8a.tar.bz2
atril-e086a31ebe4c0994fbe88904e23c2bb96b84eb8a.tar.xz
Revert "libview: Update the current page also when pending scroll is to find a location"
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1525313 This reverts commit e64064d40b451011dba2f891be454f65439df18d.
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) {