Skip to content

Commit

Permalink
When checkbox smaller than 18,the BEMBoxTypeSquare has a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghengheng committed Dec 17, 2015
1 parent 6169686 commit 8d14b38
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 8d14b38

Please sign in to comment.