Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[android] decrease zoom rate by 35%
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasPaczos committed May 28, 2019
1 parent e5431d0 commit b9c46c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ private double calculateScale(double velocityXY, boolean isScalingOut) {
}

private double getNewZoom(float scaleFactor, boolean quickZoom) {
double zoomBy = Math.log(scaleFactor) / Math.log(Math.PI / 2);
double zoomBy = (Math.log(scaleFactor) / Math.log(Math.PI / 2)) * 0.65;
if (quickZoom) {
// clamp scale factors we feed to core #7514
boolean negative = zoomBy < 0;
Expand Down

0 comments on commit b9c46c0

Please sign in to comment.