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

Commit 9863ba94 authored by Nicolas Roard's avatar Nicolas Roard
Browse files

resolved conflicts for merge of bfd6805a to master

Change-Id: Ie975e4cd7391d62949c563453358aa999c8a4b45
parents 834910f5 bfd6805a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2256,12 +2256,12 @@ public class WebView extends AbsoluteLayout
        Rect ri = new Rect(0,0,0,0);
        calcOurVisibleRect(ri);
        // pin the rect to the bounds of the content
        r.left = Math.max(viewToContentXf(ri.left), 0f);
        r.left = Math.max(viewToContentXf(ri.left), 0.0f);
        // viewToContentY will remove the total height of the title bar.  Add
        // the visible height back in to account for the fact that if the title
        // bar is partially visible, the part of the visible rect which is
        // displaying our content is displaced by that amount.
        r.top = Math.max(viewToContentYf(ri.top + getVisibleTitleHeight()), 0f);
        r.top = Math.max(viewToContentYf(ri.top + getVisibleTitleHeight()), 0.0f);
        r.right = Math.min(viewToContentXf(ri.right), (float)mContentWidth);
        r.bottom = Math.min(viewToContentYf(ri.bottom), (float)mContentHeight);
    }