diff options
author | jmkiley <jordan.kiley@mapbox.com> | 2019-09-04 10:35:31 -0700 |
---|---|---|
committer | jmkiley <jordan.kiley@mapbox.com> | 2019-09-04 10:35:31 -0700 |
commit | 1871b3e876908836ed78ae7428cbe9b1358f97a6 (patch) | |
tree | 8c7649eb736beab48be7a8ee3736a28148345590 | |
parent | 021aab77cff99b8ccf8071f5774121e5baaaa288 (diff) | |
download | qtlocation-mapboxgl-1871b3e876908836ed78ae7428cbe9b1358f97a6.tar.gz |
[ios] Remove resetting the value
-rw-r--r-- | platform/ios/src/MGLMapView.mm | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm index f0e8faa936..8c8d036328 100644 --- a/platform/ios/src/MGLMapView.mm +++ b/platform/ios/src/MGLMapView.mm @@ -1782,8 +1782,6 @@ public: self.cameraChangeReasonBitmask |= MGLCameraChangeReasonGestureRotate; - _rotationThresholdWhileZooming = [[[NSUserDefaults standardUserDefaults] objectForKey:MGLRotationThresholdWhileZoomingKey] floatValue]; - // Check whether a zoom triggered by a pinch gesture is occurring and if the rotation threshold has been met. if (MGLDegreesFromRadians(self.rotationBeforeThresholdMet) < self.rotationThresholdWhileZooming && self.isZooming && !self.isRotating) { self.rotationBeforeThresholdMet += fabs(rotate.rotation); |