Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ final class SidebarRowPullRequestIconView: NSView {
)
// Tint inside the image first: .sourceAtop against the view's
// transparent backing draws nothing (no destination pixels).
let tinted = NSImage(size: image.size, flipped: false) { drawRect in
let tinted = NSImage(size: image.size, flipped: false) { [color] drawRect in
image.draw(in: drawRect, from: .zero, operation: .sourceOver, fraction: 1)
color.set()
drawRect.fill(using: .sourceAtop)
Expand Down