mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-16 19:50:42 +00:00
Fix a nil variable error that caused problems in Firefox 2.
This commit is contained in:
1 parent
99282026fa
commit
5c4d890100
1 file changed
+2
-2
@@ -227,8 +227,8 @@ var SelectionColor = nil,
|
||||
|
||||
CGContextClosePath(context);
|
||||
|
||||
CGContextSetShadowWithColor(context, CGSizeMake(0.0, 1.0), 1.1, _shadowColor);
|
||||
CGContextSetFillColor(context, _color);
|
||||
CGContextSetShadowWithColor(context, CGSizeMake(0.0, 1.0), 1.1, _shadowColor || [CPColor whiteColor]);
|
||||
CGContextSetFillColor(context, _color || [CPColor blackColor]);
|
||||
CGContextFillPath(context);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user