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

Commit 24958c5d authored by John Reck's avatar John Reck
Browse files

Change double tap scale from 1.5 to 1.0

 Bug: 7287834

Change-Id: I43312825c1494e385a36a3783765de33d2b691e2
parent 95404c66
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1013,8 +1013,8 @@ public class PhotoView extends GLView {
            // onDoubleTap happened on the second ACTION_DOWN.
            // We need to ignore the next UP event.
            mIgnoreUpEvent = true;
            if (scale <= 1.0f || controller.isAtMinimalScale()) {
                controller.zoomIn(x, y, Math.max(1.5f, scale * 1.5f));
            if (scale <= .75f || controller.isAtMinimalScale()) {
                controller.zoomIn(x, y, Math.max(1.0f, scale * 1.5f));
            } else {
                controller.resetToFullView();
            }