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

Commit 518e83b8 authored by Mangesh Ghiware's avatar Mangesh Ghiware
Browse files

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

Bug: 6257654
Change-Id: I6963476300619d6f0d6af46630f9a86d95ad0dfc
parent 4527a924
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;