mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-20 13:39:22 +00:00
remove bottom corner view drawing in CPScrollView
This commit is contained in:
1 parent
67a023a992
commit
64b733b1ea
1 file changed
-22
@@ -797,28 +797,6 @@
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (![[self verticalScroller] isHidden] && ![[self horizontalScroller] isHidden])
|
||||
{
|
||||
var verticalScrollerFrame = [[self verticalScroller] frame],
|
||||
bottomCornerRect = CGRectMakeCopy(verticalScrollerFrame),
|
||||
borderColor = [self currentValueForThemeAttribute:@"line-border-color"];
|
||||
|
||||
bottomCornerRect.origin.y = CGRectGetMaxY(verticalScrollerFrame);
|
||||
bottomCornerRect.size.height = [CPScroller scrollerWidth];
|
||||
|
||||
CGContextSetFillColor(context, borderColor);
|
||||
CGContextFillRect(context, bottomCornerRect);
|
||||
|
||||
CGContextSetStrokeColor(context, borderColor);
|
||||
CGContextMoveToPoint(context, CGRectGetMinX(bottomCornerRect), CGRectGetMinY(bottomCornerRect));
|
||||
CGContextAddLineToPoint(context, CGRectGetMaxX(bottomCornerRect), CGRectGetMinY(bottomCornerRect));
|
||||
CGContextStrokePath(context);
|
||||
|
||||
CGContextMoveToPoint(context, CGRectGetMinX(bottomCornerRect), CGRectGetMinY(bottomCornerRect));
|
||||
CGContextAddLineToPoint(context, CGRectGetMinX(bottomCornerRect), CGRectGetMaxY(bottomCornerRect));
|
||||
CGContextStrokePath(context);
|
||||
}
|
||||
}
|
||||
|
||||
- (void)_drawGrayBezelInContext:(CGContext)context bounds:(CGRect)aRect
|
||||
|
||||
Reference in new issue
Block a user