2007-12-16 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-view.c: (ev_view_set_zoom):
Do not limit the minimum zoom factor when sizing mode is best bit
or fit width. Fixes bug #503805.
svn path=/trunk/; revision=2770
+2007-12-16 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-view.c: (ev_view_set_zoom):
+
+ Do not limit the minimum zoom factor when sizing mode is best bit
+ or fit width. Fixes bug #503805.
+
2007-12-14 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/pdf/ev-poppler.cc: (ev_link_dest_from_dest):
else
scale = factor;
- scale = CLAMP (scale, view->min_scale, view->max_scale);
+ scale = CLAMP (scale,
+ view->sizing_mode == EV_SIZING_FREE ? view->min_scale : 0,
+ view->max_scale);
if (ABS (view->scale - scale) < EPSILON)
return;