diff options
author | raveit65 <[email protected]> | 2018-01-02 16:09:23 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-01-02 16:09:23 +0100 |
commit | e086a31ebe4c0994fbe88904e23c2bb96b84eb8a (patch) | |
tree | 91799328c01841149afc8415c91ecee8436b18f4 | |
parent | 2647b132fa092489c2dd5fb5275e945dcdd27e3c (diff) | |
download | atril-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.
-rw-r--r-- | libview/ev-view.c | 3 |
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) { |