Make sure highlight remains an optional component.

This commit is contained in:
Jürg Lehni 2013-04-09 09:34:39 -07:00
parent 9d0b9dc4c6
commit 8feb510ea1

View file

@ -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;
}