mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
Replace unneeded beans access with local variable.
This commit is contained in:
parent
1473d82456
commit
a035f645fc
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ var Color = this.Color = Base.extend(new function() {
|
|||
Math.round(color.getRed() * 255),
|
||||
Math.round(color.getGreen() * 255),
|
||||
Math.round(color.getBlue() * 255),
|
||||
alpha != null ? this.alpha : 1
|
||||
alpha != null ? alpha : 1
|
||||
];
|
||||
this._cssString = 'rgba(' + components.join(', ') + ')';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue