X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=inline;f=libview%2Fev-view.c;h=e1c84037e2209902e708ce14e4bee609cfc4e6be;hb=ca55431d2dddabea2a1b102e489a23e826ff82c3;hp=613236319dc4aa4d4fefbd35b068434289686867;hpb=4b8d7a403800d654bc3e47abb8fd98c76b37d859;p=evince.git diff --git a/libview/ev-view.c b/libview/ev-view.c index 61323631..e1c84037 100644 --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -2735,7 +2735,9 @@ ev_view_scroll_event (GtkWidget *widget, GdkEventScroll *event) state &= ~GDK_SHIFT_MASK; } - if (state == 0 && view->presentation) { + if (state == 0 && + (view->presentation || + (view->sizing_mode == EV_SIZING_BEST_FIT && !view->continuous))) { switch (event->direction) { case GDK_SCROLL_DOWN: case GDK_SCROLL_RIGHT: