Skip to content

Commit c8b4238

Browse files
Remove useless code
1 parent f19470a commit c8b4238

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

WYPopoverController/WYPopoverController.m

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,18 +1031,6 @@ - (void)drawLayer:(CALayer *)layer inContext:(CGContextRef)context
10311031

10321032
reducedOuterCornerRadius = MIN(reducedOuterCornerRadius, outerCornerRadius);
10331033

1034-
/*
1035-
if (borderWidth == 0 && outerCornerRadius > 0)
1036-
{
1037-
if ()
1038-
{
1039-
result = outerCornerRadius;
1040-
}
1041-
}
1042-
*/
1043-
1044-
NSLog(@"outerCornerRadius = %f", outerCornerRadius);
1045-
10461034
if (arrowDirection == WYPopoverArrowDirectionUp)
10471035
{
10481036
origin = CGPointMake(CGRectGetMidX(outerRect) + arrowOffset - arrowBase / 2, CGRectGetMinY(outerRect));

0 commit comments

Comments
 (0)