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

Commit e5b6d02f authored by Grace Kloba's avatar Grace Kloba
Browse files

Translate the content dimension to the view space before setting them to the view.

parent 445f4308
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -4935,8 +4935,8 @@ public class WebView extends AbsoluteLayout
        int measuredWidth = widthSize;
        int measuredWidth = widthSize;


        // Grab the content size from WebViewCore.
        // Grab the content size from WebViewCore.
        int contentHeight = mContentHeight;
        int contentHeight = Math.round(mContentHeight * mActualScale);
        int contentWidth = mContentWidth;
        int contentWidth = Math.round(mContentWidth * mActualScale);


//        Log.d(LOGTAG, "------- measure " + heightMode);
//        Log.d(LOGTAG, "------- measure " + heightMode);