mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
parent
111d5c8f66
commit
dd20df42da
1 changed files with 2 additions and 5 deletions
|
@ -279,11 +279,8 @@ var Color = Base.extend(new function() {
|
|||
this._properties = types[type];
|
||||
this._type = type;
|
||||
}
|
||||
value = parser.call(this, value);
|
||||
if (value != null) {
|
||||
this._components[index] = value;
|
||||
this._changed();
|
||||
}
|
||||
this._components[index] = parser.call(this, value);
|
||||
this._changed();
|
||||
};
|
||||
}, this);
|
||||
}, /** @lends Color# */{
|
||||
|
|
Loading…
Reference in a new issue