From 8d14b3872fcd4b2d8a98f4ecf214a847cc798478 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=20=E5=8E=9F=E9=97=AF?= Date: Thu, 17 Dec 2015 18:07:07 +0800 Subject: [PATCH] =?UTF-8?q?When=20checkbox=20smaller=20than=2018=EF=BC=8Ct?= =?UTF-8?q?he=20BEMBoxTypeSquare=20has=20a=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Classes/BEMPathManager.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/BEMPathManager.m b/Classes/BEMPathManager.m index aec49ab..ffb8f5f 100644 --- a/Classes/BEMPathManager.m +++ b/Classes/BEMPathManager.m @@ -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;