diff --git a/src/core/text/Text.js b/src/core/text/Text.js index d81216d..29dd720 100644 --- a/src/core/text/Text.js +++ b/src/core/text/Text.js @@ -163,17 +163,14 @@ if (style.dropShadow) { - context.shadowBlur = style.dropShadowBlur; + context.fillStyle = style.dropShadowColor; context.globalAlpha = style.dropShadowAlpha; + context.shadowBlur = style.dropShadowBlur; if (style.dropShadowBlur > 0) { context.shadowColor = style.dropShadowColor; } - else - { - context.fillStyle = style.dropShadowColor; - } const xShadowOffset = Math.cos(style.dropShadowAngle) * style.dropShadowDistance; const yShadowOffset = Math.sin(style.dropShadowAngle) * style.dropShadowDistance;