Skip to content

Commit ead467b

Browse files
committed
Merge pull request #2 from 3months/bugfix/remove-tab-borders
Remove the borders
2 parents 373eb72 + f8bc9a7 commit ead467b

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

ICViewPager/ICViewPager/ViewPagerController.m

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -81,22 +81,6 @@ - (void)drawRect:(CGRect)rect {
8181

8282
UIBezierPath *bezierPath;
8383

84-
// Draw top line
85-
bezierPath = [UIBezierPath bezierPath];
86-
[bezierPath moveToPoint:CGPointMake(0.0, 0.0)];
87-
[bezierPath addLineToPoint:CGPointMake(CGRectGetWidth(rect), 0.0)];
88-
[[UIColor colorWithWhite:197.0/255.0 alpha:0.75] setStroke];
89-
[bezierPath setLineWidth:1.0];
90-
[bezierPath stroke];
91-
92-
// Draw bottom line
93-
bezierPath = [UIBezierPath bezierPath];
94-
[bezierPath moveToPoint:CGPointMake(0.0, CGRectGetHeight(rect))];
95-
[bezierPath addLineToPoint:CGPointMake(CGRectGetWidth(rect), CGRectGetHeight(rect))];
96-
[[UIColor colorWithWhite:197.0/255.0 alpha:0.75] setStroke];
97-
[bezierPath setLineWidth:1.0];
98-
[bezierPath stroke];
99-
10084
// Draw an indicator line if tab is selected
10185
if (self.selected) {
10286

0 commit comments

Comments
 (0)