diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2014-02-05 15:51:44 -0500 |
---|---|---|
committer | Justin R. Miller <incanus@codesorcery.net> | 2014-02-05 15:51:44 -0500 |
commit | dd3687061db552517ad9687933e1b75bdc3c791f (patch) | |
tree | 6fb08bcc58e67b01c797071d76880d5715616e34 /ios | |
parent | 74f3e5715acfece4e7c128bd3d3ce3706330eda2 (diff) | |
download | qtlocation-mapboxgl-dd3687061db552517ad9687933e1b75bdc3c791f.tar.gz |
speed up pinch gestures per @gundersen
Diffstat (limited to 'ios')
-rw-r--r-- | ios/MBXViewController.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/MBXViewController.mm b/ios/MBXViewController.mm index b03594324a..5e6cd5f18d 100644 --- a/ios/MBXViewController.mm +++ b/ios/MBXViewController.mm @@ -187,7 +187,7 @@ class MBXMapView } else if (pinch.state == UIGestureRecognizerStateChanged) { - CGFloat tolerance = 3; + CGFloat tolerance = 2; CGFloat newZoom = self.zoom + (pinch.scale > 1 ? (pinch.scale / tolerance) : ((1 - pinch.scale) * -tolerance)); |