Merge commit '3c385116e98e6812813049206cb85417f1bccb21' * commit '3c385116e98e6812813049206cb85417f1bccb21': don't allow min scale to go to infinity
This commit is contained in:
@@ -4868,7 +4868,8 @@ public class WebView extends AbsoluteLayout
|
||||
mLastScale = restoreState.mTextWrapScale;
|
||||
if (restoreState.mMinScale == 0) {
|
||||
if (restoreState.mMobileSite) {
|
||||
if (draw.mMinPrefWidth > draw.mViewPoint.x) {
|
||||
if (draw.mMinPrefWidth >
|
||||
Math.max(0, draw.mViewPoint.x)) {
|
||||
mMinZoomScale = (float) viewWidth
|
||||
/ draw.mMinPrefWidth;
|
||||
mMinZoomScaleFixed = false;
|
||||
|
||||
Reference in New Issue
Block a user