mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Shorten css code.
This commit is contained in:
parent
09e9298bf4
commit
05a01604ca
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ var Color = this.Color = Base.extend(new function() {
|
|||
// Set the current fillStyle to transparent, so that it will be
|
||||
// transparent instead of the previously set color in case the new color
|
||||
// can not be interpreted.
|
||||
colorContext.fillStyle = 'rgba(0, 0, 0, 0)';
|
||||
colorContext.fillStyle = 'rgba(0,0,0,0)';
|
||||
// Set the fillStyle of the context to the passed name and fill the
|
||||
// canvas with it, then retrieve the data for the drawn pixel:
|
||||
colorContext.fillStyle = name;
|
||||
|
|
Loading…
Reference in a new issue