Skip to content

Commit

Permalink
cocoaui: clip ddbtabstrip drawing to view bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksiy-Yakovenko committed Jan 2, 2025
1 parent 813d083 commit afff705
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/cocoaui/DdbTabStrip/DdbTabStrip.m
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ - (void)drawRect:(NSRect)dirtyRect
}

[NSGraphicsContext.currentContext saveGraphicsState];
[NSBezierPath clipRect:self.frame];

// draw selected
// calc position for drawin selected tab
Expand Down

0 comments on commit afff705

Please sign in to comment.