EWebView - Increase minimum zoom level for zoom out

Newer WebKitGTK (like 2.2.8) breaks the view for a small zoom
sooner than the older one.
This commit is contained in:
Milan Crha
2014-12-01 13:39:03 +01:00
parent 379540e7a7
commit 4d12f1e17b

View File

@ -2351,7 +2351,7 @@ e_web_view_zoom_out (EWebView *web_view)
{
g_return_if_fail (E_IS_WEB_VIEW (web_view));
if (webkit_web_view_get_zoom_level (WEBKIT_WEB_VIEW (web_view)) > 0.1999)
if (webkit_web_view_get_zoom_level (WEBKIT_WEB_VIEW (web_view)) > 0.7999)
webkit_web_view_zoom_out (WEBKIT_WEB_VIEW (web_view));
}