From 34ac4cd23bd8722fae20101fd45cbc1abcf7c5f8 Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 28 Mar 2019 14:33:00 -0700 Subject: [PATCH] Fixed: Changed CPColor parameter from string to CPString Parameter type in CPColor was string, changed here to CPString, to make it more inline with other string parameter types. --- AppKit/CPColor.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPColor.j b/AppKit/CPColor.j index 2ba97a1cc..5866fb0d4 100644 --- a/AppKit/CPColor.j +++ b/AppKit/CPColor.j @@ -267,7 +267,7 @@ var cachedBlackColor, @return an initialized RGB color */ -+ (CPColor)colorWithHexString:(string)hex ++ (CPColor)colorWithHexString:(CPString)hex { var rgba = hexToRGB(hex); return rgba ? [[CPColor alloc] _initWithRGBA: rgba] : null;