Skip to content

Commit afff705

Browse files
cocoaui: clip ddbtabstrip drawing to view bounds
1 parent 813d083 commit afff705

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/cocoaui/DdbTabStrip/DdbTabStrip.m

+1
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ - (void)drawRect:(NSRect)dirtyRect
410410
}
411411

412412
[NSGraphicsContext.currentContext saveGraphicsState];
413+
[NSBezierPath clipRect:self.frame];
413414

414415
// draw selected
415416
// calc position for drawin selected tab

0 commit comments

Comments
 (0)