Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82a07704 authored by Shimeng (Simon) Wang's avatar Shimeng (Simon) Wang
Browse files

Consider default zoom scale for mobile viewport.

issue: 4482888
Change-Id: I6a100700b7a7e9464b397f219217225f3ada0f63
parent b924ab5b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1900,7 +1900,7 @@ public final class WebViewCore {
                width = mViewportWidth;
            } else {
                // For mobile web site.
                width = mWebView.getViewWidth();
                width = Math.round(mWebView.getViewWidth() / mWebView.getDefaultZoomScale());
            }
        }
        return width;