Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libview
diff options
context:
space:
mode:
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 09bc4fe..ee5d258 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -5093,6 +5093,8 @@ ev_view_rotation_changed_cb (EvDocumentModel *model,
if (view->pixbuf_cache) {
ev_pixbuf_cache_clear (view->pixbuf_cache);
+ if (!ev_document_is_page_size_uniform (view->document))
+ view->pending_scroll = SCROLL_TO_PAGE_POSITION;
gtk_widget_queue_resize (GTK_WIDGET (view));
}