mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-04 03:45:58 -05:00
Have Color always serialize in non-compact mode.
This commit is contained in:
parent
5ff911f68c
commit
606389238d
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ var Color = this.Color = Base.extend(new function() {
|
|||
},
|
||||
|
||||
_serialize: function(options) {
|
||||
var res = [];
|
||||
var res = [ this._type ];
|
||||
for (var i = 0, l = this._components.length; i < l; i++) {
|
||||
var component = this._components[i],
|
||||
value = this['_' + component];
|
||||
|
|
Loading…
Reference in a new issue