mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-14 00:39:57 -04:00
Make sure highlight remains an optional component.
This commit is contained in:
parent
9d0b9dc4c6
commit
8feb510ea1
1 changed files with 3 additions and 1 deletions
|
@ -525,7 +525,9 @@ var Color = this.Color = Base.extend(new function() {
|
|||
radial: arg.radial
|
||||
};
|
||||
}
|
||||
components[i] = parse[i].call(this, value);
|
||||
value = parse[i].call(this, value);
|
||||
if (value != null)
|
||||
components[i] = value;
|
||||
}
|
||||
alpha = arg.alpha;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue