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

Commit 50e04e2d authored by Shimeng (Simon) Wang's avatar Shimeng (Simon) Wang
Browse files

Initial zoom overview flag only meaningful in page overview mode.

Change-Id: I206864678e61777276468718a78e3da8de4f06a7
parent 9af04ac6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1107,7 +1107,8 @@ class ZoomManager {
                }
                reflowText = exceedsMinScaleIncrement(mTextWrapScale, scale);
            }
            mInitialZoomOverview = !exceedsMinScaleIncrement(scale, overviewScale);
            mInitialZoomOverview = settings.getLoadWithOverviewMode() &&
                    !exceedsMinScaleIncrement(scale, overviewScale);
            setZoomScale(scale, reflowText);

            // update the zoom buttons as the scale can be changed