[android] - scale factor value of 1 should zoom out

This commit is contained in:
Tobrun
2017-12-13 09:30:50 +01:00
committed by Tobrun
parent 7c06eda515
commit fa704c85d8

View File

@@ -491,7 +491,7 @@ final class MapGestureDetector {
return super.onScale(detector);
}
wasZoomingIn = (Math.log(detector.getScaleFactor()) / Math.log(Math.PI / 2)) >= 0;
wasZoomingIn = (Math.log(detector.getScaleFactor()) / Math.log(Math.PI / 2)) > 0;
if (tiltGestureOccurred) {
return false;
}