Skip to content

Commit

Permalink
Merge pull request #12 from WangHengHeng/master
Browse files Browse the repository at this point in the history
Fix #13,  Square checkbox of size less than 20 x 20 px appears distorted.
  • Loading branch information
Boris-Em committed Dec 21, 2015
2 parents 6169686 + 8d14b38 commit 0632286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/BEMPathManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ - (UIBezierPath *)pathForBox {
switch (self.boxType) {
case BEMBoxTypeSquare:
path = [UIBezierPath bezierPathWithRoundedRect:CGRectMake(0, 0, self.size, self.size) cornerRadius:3.0];
[path applyTransform:CGAffineTransformRotate(CGAffineTransformIdentity, M_PI / 2)];
[path applyTransform:CGAffineTransformRotate(CGAffineTransformIdentity, M_PI * 2.5)];
[path applyTransform:CGAffineTransformMakeTranslation(self.size, 0)];
break;

Expand Down

0 comments on commit 0632286

Please sign in to comment.