mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-08 02:34:20 -04:00
Remove unused local variable and comment.
This commit is contained in:
parent
c797f2f0ad
commit
b8ab0f36f9
1 changed files with 0 additions and 3 deletions
|
@ -3140,12 +3140,9 @@ var Item = Base.extend(Callback, /** @lends Item# */{
|
||||||
// We can access internal properties since we're only using this on
|
// We can access internal properties since we're only using this on
|
||||||
// items without children, where styles would be merged.
|
// items without children, where styles would be merged.
|
||||||
var style = this._style,
|
var style = this._style,
|
||||||
matrix = this._matrix,
|
|
||||||
fillColor = style.getFillColor(),
|
fillColor = style.getFillColor(),
|
||||||
strokeColor = style.getStrokeColor(),
|
strokeColor = style.getStrokeColor(),
|
||||||
shadowColor = style.getShadowColor();
|
shadowColor = style.getShadowColor();
|
||||||
// We need to take matrix into account for gradients,
|
|
||||||
// see #toCanvasStyle()
|
|
||||||
if (fillColor)
|
if (fillColor)
|
||||||
ctx.fillStyle = fillColor.toCanvasStyle(ctx);
|
ctx.fillStyle = fillColor.toCanvasStyle(ctx);
|
||||||
if (strokeColor) {
|
if (strokeColor) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue