Skip to content

Commit 0632286

Browse files
committed
Merge pull request #12 from WangHengHeng/master
Fix #13, Square checkbox of size less than 20 x 20 px appears distorted.
2 parents 6169686 + 8d14b38 commit 0632286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/BEMPathManager.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ - (UIBezierPath *)pathForBox {
1717
switch (self.boxType) {
1818
case BEMBoxTypeSquare:
1919
path = [UIBezierPath bezierPathWithRoundedRect:CGRectMake(0, 0, self.size, self.size) cornerRadius:3.0];
20-
[path applyTransform:CGAffineTransformRotate(CGAffineTransformIdentity, M_PI / 2)];
20+
[path applyTransform:CGAffineTransformRotate(CGAffineTransformIdentity, M_PI * 2.5)];
2121
[path applyTransform:CGAffineTransformMakeTranslation(self.size, 0)];
2222
break;
2323

0 commit comments

Comments
 (0)