Fixed: Before this PR, CGContextSetShadow wasn't initializing the shadow color (#2966)

This commit is contained in:
Didier Korthoudt authored and GitHub committed 2022-03-21 13:33:00 +01:00
1 parent 6544aff88e
commit a523cfc381
1 file changed
+1
+1
View File
@@ -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)