properly set marker scale based on source image
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -67,6 +67,7 @@ | @@ -67,6 +67,7 @@ | ||
67 | return nil; | 67 | return nil; |
68 | 68 | ||
69 | self.contents = (id)[image CGImage]; | 69 | self.contents = (id)[image CGImage]; |
70 | + self.contentsScale = image.scale; | ||
70 | self.bounds = CGRectMake(0, 0, image.size.width, image.size.height); | 71 | self.bounds = CGRectMake(0, 0, image.size.width, image.size.height); |
71 | self.anchorPoint = _anchorPoint; | 72 | self.anchorPoint = _anchorPoint; |
72 | 73 |
-
Please register or login to post a comment