mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-30 02:12:03 +00:00
Fixed: Before this PR, CGContextSetShadow wasn't initializing the shadow color (#2966)
This commit is contained in:
1 parent
6544aff88e
commit
a523cfc381
1 file changed
+1
@@ -416,6 +416,7 @@ function CGContextSetShadow(aContext, aSize, aBlur)
|
||||
aContext.shadowOffsetX = aSize.width;
|
||||
aContext.shadowOffsetY = aSize.height;
|
||||
aContext.shadowBlur = aBlur;
|
||||
aContext.shadowColor = [[CPColor shadowColor] cssString];
|
||||
}
|
||||
|
||||
function CGContextSetShadowWithColor(aContext, aSize, aBlur, aColor)
|
||||
|
||||
Reference in new issue
Block a user