Skip to content

Commit 9ca048f

Browse files
committed
No line cap settings needed for bezier drawing.
1 parent 717508d commit 9ca048f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Sources/MacOSAppSupport/MAS_NSViewContextBase.mm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ static NSRect CreateRect (CGFloat viewHeight, const NUIE::Rect& rect)
106106
[CreateColor (pen.GetColor ()) set];
107107
NSBezierPath* bezierPath = [NSBezierPath bezierPath];
108108
[bezierPath setLineWidth:pen.GetThickness ()];
109-
[bezierPath setLineCapStyle:NSLineCapStyleRound];
110109
[bezierPath moveToPoint:CreatePoint (height, p1)];
111110
[bezierPath curveToPoint:CreatePoint (height, p4) controlPoint1:CreatePoint (height, p2) controlPoint2:CreatePoint (height, p3)];
112111
[bezierPath stroke];

0 commit comments

Comments
 (0)