Remove unused local variable and comment.

This commit is contained in:
Jürg Lehni 2013-11-02 20:37:23 +01:00
parent c797f2f0ad
commit b8ab0f36f9

View file

@ -3140,12 +3140,9 @@ var Item = Base.extend(Callback, /** @lends Item# */{
// We can access internal properties since we're only using this on
// items without children, where styles would be merged.
var style = this._style,
matrix = this._matrix,
fillColor = style.getFillColor(),
strokeColor = style.getStrokeColor(),
shadowColor = style.getShadowColor();
// We need to take matrix into account for gradients,
// see #toCanvasStyle()
if (fillColor)
ctx.fillStyle = fillColor.toCanvasStyle(ctx);
if (strokeColor) {