mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-13 14:11:27 +00:00
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.
This commit is contained in:
+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