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

Commit 8117e760 authored by Shimeng (Simon) Wang's avatar Shimeng (Simon) Wang
Browse files

Let double tap reflow text.

In case when the text wrap scale is out of sync of the zoom scale.

issue:3122512
Change-Id: I9619cc603226503b96e3a0766620bc2884ec1805
parent 9c64bae1
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -554,9 +554,7 @@ class ZoomManager {
        }

        if (settings.getLayoutAlgorithm() == WebSettings.LayoutAlgorithm.NARROW_COLUMNS
                && willScaleTriggerZoom(mTextWrapScale)
                // For tablet, not much need to reflow text w/o double tapping.
                && !settings.getUseFixedViewport()) {
                && willScaleTriggerZoom(mTextWrapScale)) {
            refreshZoomScale(true);
        } else if (!mInZoomOverview) {
            zoomToOverview();