mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
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:
parent
530dfda4ba
commit
a1cab3592b
1 changed files with 0 additions and 2 deletions
|
@ -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]);
|
||||
|
|
Loading…
Reference in a new issue