Skip to content

Commit 54ae147

Browse files
mghiwareAndroid (Google) Code Review
authored andcommitted
Merge "On double-tap, simply zoom in if content is too wide."
2 parents b874e5b + 518e83b commit 54ae147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/webkit/WebViewClassic.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2869,7 +2869,7 @@ int getBlockLeftEdge(int x, int y, float readingScale) {
28692869
if (rect.width() < mFocusedNode.mHitTestSlop) {
28702870
// ignore bounding boxes that are too small
28712871
continue;
2872-
} else if (left != NO_LEFTEDGE && rect.width() > readingWidth) {
2872+
} else if (rect.width() > readingWidth) {
28732873
// stop when bounding box doesn't fit the screen width
28742874
// at reading scale
28752875
break;

0 commit comments

Comments
 (0)