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

Commit 54ae1474 authored by Mangesh Ghiware's avatar Mangesh Ghiware Committed by Android (Google) Code Review
Browse files

Merge "On double-tap, simply zoom in if content is too wide."

parents b874e5ba 518e83b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;