mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-27 02:25:36 +00:00
Fixed: Changed CPColor parameter type from string to CPString
Parameter type in CPColor was string, changed here to CPString, to make it more inline with other string parameter types.
This commit is contained in:
1 parent
ec24977d4e
commit
06498672ab
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user