Skip to content

Commit

Permalink
- HexColorTransform fix for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanhimmelman committed Oct 11, 2018
1 parent dab7687 commit e182607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/HexColorTransform.swift
Expand Up @@ -119,7 +119,7 @@ open class HexColorTransform: TransformType {
#if os(iOS) || os(tvOS) || os(watchOS)
return UIColor(red: red, green: green, blue: blue, alpha: alpha)
#else
return NSColor(calibratedRed: red, green: green, blue: blue, alpha: alpha)
return NSColor(red: red, green: green, blue: blue, alpha: alpha)
#endif
}
}
Expand Down

0 comments on commit e182607

Please sign in to comment.