No need to explicitly set fill to 'none' anymore since comparing style with parent handles this for us automatically now.

This commit is contained in:
Jürg Lehni 2013-06-11 14:15:43 -07:00
parent 530dfda4ba
commit a1cab3592b

View file

@ -166,8 +166,6 @@ new function() {
function exportGroup(item) {
var attrs = getTransform(item),
children = item._children;
// Override default SVG style on groups, then apply style.
attrs.fill = 'none';
var node = createElement('g', attrs);
for (var i = 0, l = children.length; i < l; i++) {
var child = exportSVG(children[i]);