Merge "On double-tap, simply zoom in if content is too wide."
This commit is contained in:
committed by
Android (Google) Code Review
commit
54ae14749b
@@ -2869,7 +2869,7 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
|
||||
if (rect.width() < mFocusedNode.mHitTestSlop) {
|
||||
// ignore bounding boxes that are too small
|
||||
continue;
|
||||
} else if (left != NO_LEFTEDGE && rect.width() > readingWidth) {
|
||||
} else if (rect.width() > readingWidth) {
|
||||
// stop when bounding box doesn't fit the screen width
|
||||
// at reading scale
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user