Unbounded WebView again

pull/208/head
M66B 3 years ago
parent 3eeb31b76e
commit 6844d50306

@ -236,8 +236,6 @@ public class WebViewEx extends WebView implements DownloadListener, View.OnLongC
int mh = getMeasuredHeight();
Log.i("Measured height=" + mh + " last=" + height + "/" + maxHeight + " ch=" + getContentHeight());
if (mh > maxHeight)
setMeasuredDimension(getMeasuredWidth(), maxHeight);
if (mh == 0 && legacy)
setMeasuredDimension(getMeasuredWidth(), height);
}

Loading…
Cancel
Save