Skip to content

Commit

Permalink
Merge pull request #2 from 3months/bugfix/remove-tab-borders
Browse files Browse the repository at this point in the history
Remove the borders
  • Loading branch information
timothyrobb committed Dec 10, 2014
2 parents 373eb72 + f8bc9a7 commit ead467b
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions ICViewPager/ICViewPager/ViewPagerController.m
Original file line number Diff line number Diff line change
Expand Up @@ -81,22 +81,6 @@ - (void)drawRect:(CGRect)rect {

UIBezierPath *bezierPath;

// Draw top line
bezierPath = [UIBezierPath bezierPath];
[bezierPath moveToPoint:CGPointMake(0.0, 0.0)];
[bezierPath addLineToPoint:CGPointMake(CGRectGetWidth(rect), 0.0)];
[[UIColor colorWithWhite:197.0/255.0 alpha:0.75] setStroke];
[bezierPath setLineWidth:1.0];
[bezierPath stroke];

// Draw bottom line
bezierPath = [UIBezierPath bezierPath];
[bezierPath moveToPoint:CGPointMake(0.0, CGRectGetHeight(rect))];
[bezierPath addLineToPoint:CGPointMake(CGRectGetWidth(rect), CGRectGetHeight(rect))];
[[UIColor colorWithWhite:197.0/255.0 alpha:0.75] setStroke];
[bezierPath setLineWidth:1.0];
[bezierPath stroke];

// Draw an indicator line if tab is selected
if (self.selected) {

Expand Down

0 comments on commit ead467b

Please sign in to comment.