Fix for text shadows sometimes being the wrong color.

Closes #359.
This commit is contained in:
Ross Boucher committed 2009-12-11 16:54:38 -08:00
1 parent e6244f71bd
commit 37c1d804f6
1 file changed
+1
+1
View File
@@ -376,6 +376,7 @@ var HORIZONTAL_MARGIN = 3.0,
shadowStyle.font = [_font ? _font : [CPFont systemFontOfSize:12.0] cssString];
shadowStyle.position = "absolute";
shadowStyle.whiteSpace = textStyle.whiteSpace;
shadowStyle.color = [_textShadowColor cssString];
shadowStyle.zIndex = 150;
shadowStyle.textOverflow = textStyle.textOverflow;