mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
No need for white-space in CSS color format.
This commit is contained in:
parent
75acdf1025
commit
db49718015
1 changed files with 1 additions and 1 deletions
|
@ -739,7 +739,7 @@ var Color = Base.extend(new function() {
|
|||
if (alpha < 1)
|
||||
components.push(alpha);
|
||||
return (components.length == 4 ? 'rgba(' : 'rgb(')
|
||||
+ components.join(', ') + ')';
|
||||
+ components.join(',') + ')';
|
||||
},
|
||||
|
||||
toCanvasStyle: function(ctx) {
|
||||
|
|
Loading…
Reference in a new issue