diff --git a/src/text/Text.js b/src/text/Text.js index b8f1719..e89728f 100644 --- a/src/text/Text.js +++ b/src/text/Text.js @@ -211,8 +211,8 @@ if (this.style.dropShadow) { this.context.fillStyle = this.style.dropShadowColor; - var xShadowOffset = Math.sin(this.style.dropShadowAngle) * this.style.dropShadowDistance; - var yShadowOffset = Math.cos(this.style.dropShadowAngle) * this.style.dropShadowDistance; + var xShadowOffset = Math.cos(this.style.dropShadowAngle) * this.style.dropShadowDistance; + var yShadowOffset = Math.sin(this.style.dropShadowAngle) * this.style.dropShadowDistance; for (i = 0; i < lines.length; i++) { linePositionX = this.style.strokeThickness / 2;