Color: Exclude internal extension on Linux
This commit is contained in:
parent
a68e461eb4
commit
aea685e8b4
@ -12,8 +12,10 @@ import Cocoa
|
||||
public typealias Color = NSColor
|
||||
#endif
|
||||
|
||||
#if !os(Linux)
|
||||
internal extension Color {
|
||||
convenience init(red: CGFloat, green: CGFloat, blue: CGFloat) {
|
||||
self.init(red: red, green: green, blue: blue, alpha: 1)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user