Copy over parent style in Item#reduce().

Only really needed for CompoundPath...
This commit is contained in:
Jürg Lehni 2013-11-30 14:02:54 +01:00
parent fe1035da41
commit dcad9d44ed

View file

@ -1884,6 +1884,7 @@ var Item = Base.extend(Callback, /** @lends Item# */{
if (this._children && this._children.length === 1) {
var child = this._children[0];
child.insertAbove(this);
child.setStyle(this._style);
this.remove();
return child;
}