mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-05 16:42:58 +00:00
nib2cib NSColor colorspace 3 and 4 fix
This commit is contained in:
1 parent
20eaf1455d
commit
e07c98b418
1 file changed
+1
-1
@@ -65,7 +65,7 @@ var NSUnknownColorSpaceModel = -1,
|
||||
case 4: // [NSColor colorWithDeviceWhite:values[0] alpha:values[1]];
|
||||
|
||||
var bytes = [aCoder decodeBytesForKey:@"NSWhite"],
|
||||
string = bytes_to_string(rgb),
|
||||
string = bytes_to_string(bytes),
|
||||
components = [string componentsSeparatedByString:@" "],
|
||||
values = [0,1];
|
||||
|
||||
|
||||
Reference in new issue
Block a user