mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-06-11 12:40:53 -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
|
||||
// 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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue