diff options
author | Kirill Zhdanovich <kzhdanovich@gmail.com> | 2013-06-26 11:20:31 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:57:14 +0300 |
commit | 61be9e31820e82057502af0f3771133ac9047fda (patch) | |
tree | 328e6041581f08873b2fb0d8dd5446560eb49428 /iphone | |
parent | 4965ff89bfbdd1cd80c0ff7760ed0c5936c7df86 (diff) |
[iOS] Reduced compass arrow size
Diffstat (limited to 'iphone')
-rw-r--r-- | iphone/Maps/Classes/CompassView.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iphone/Maps/Classes/CompassView.mm b/iphone/Maps/Classes/CompassView.mm index 52101be2de..f66b4304ad 100644 --- a/iphone/Maps/Classes/CompassView.mm +++ b/iphone/Maps/Classes/CompassView.mm @@ -54,10 +54,10 @@ CGAffineTransform matrix = CGAffineTransformMakeTranslation(w2, w2); matrix = CGAffineTransformRotate(matrix, -angle); - matrix = CGAffineTransformTranslate(matrix, -w2, -w2); + matrix = CGAffineTransformTranslate(matrix, -w2 + w2 * 0.15, -w2 + w2 * 0.15); + matrix = CGAffineTransformScale(matrix, 0.85, 0.85); [aPath applyTransform:matrix]; - // Set color: a8a8a8. [self.color setFill]; [aPath fill]; } |