Update text.js

This commit is contained in:
Andrea Bogazzi 2014-10-21 22:50:34 +02:00
parent 51fcd6cc52
commit ed00d1c5fb
2 changed files with 6 additions and 4 deletions

View file

@ -649,7 +649,7 @@
angle = 360 + angle;
}
t.target.angle = angle;
t.target.angle = angle % 360;
},
/**

View file

@ -1061,10 +1061,12 @@
return;
}
var mult = this.canvas._currentMultiplier || 1;
ctx.shadowColor = this.shadow.color;
ctx.shadowBlur = this.shadow.blur;
ctx.shadowOffsetX = this.shadow.offsetX;
ctx.shadowOffsetY = this.shadow.offsetY;
ctx.shadowBlur = this.shadow.blur * mult * (this.scaleX + this.scaleY) / 2;
ctx.shadowOffsetX = this.shadow.offsetX * mult * this.scaleX;
ctx.shadowOffsetY = this.shadow.offsetY * mult * this.scaleY;
},
/**