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

Commit

Permalink
Revert "[ios] Fixed auto-shrinking annotation views"
Browse files Browse the repository at this point in the history
This reverts commit 0d7d244.
  • Loading branch information
1ec5 committed Jul 10, 2016
1 parent d076612 commit 71014fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/ios/src/MGLAnnotationView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ - (void)updateTransform
// reduction is then normalized for a scale of 1.0.
CGFloat pitchAdjustedScale = 1.0 - maxScaleReduction * pitchIntensity;

CATransform3D transform = CATransform3DIdentity;
CATransform3D transform = self.layer.transform;
self.layer.transform = CATransform3DScale(transform, pitchAdjustedScale, pitchAdjustedScale, 1);
}
}
Expand Down

0 comments on commit 71014fb

Please sign in to comment.