mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -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)
|
if (alpha < 1)
|
||||||
components.push(alpha);
|
components.push(alpha);
|
||||||
return (components.length == 4 ? 'rgba(' : 'rgb(')
|
return (components.length == 4 ? 'rgba(' : 'rgb(')
|
||||||
+ components.join(', ') + ')';
|
+ components.join(',') + ')';
|
||||||
},
|
},
|
||||||
|
|
||||||
toCanvasStyle: function(ctx) {
|
toCanvasStyle: function(ctx) {
|
||||||
|
|
Loading…
Reference in a new issue