We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61493c2 commit 0f9987fCopy full SHA for 0f9987f
Sources/ColorWellKit/Views/Cocoa/ColorWellPopover.swift
@@ -363,7 +363,8 @@ extension ColorWellPopover {
363
364
context.compositingOperation = .multiply
365
366
- (color.usingColorSpace(.displayP3) ?? color).drawSwatch(in: bounds)
+ let color = color.usingColorSpace(.displayP3) ?? color
367
+ color.drawSwatch(in: bounds)
368
NSColor(white: 1 - color.averageBrightness, alpha: 0.3).setStroke()
369
let path = NSBezierPath(rect: bounds.insetBy(1))
370
path.lineWidth = 2
0 commit comments