Skip to content

Commit

Permalink
Merge bf34a4c into 5daa89d
Browse files Browse the repository at this point in the history
  • Loading branch information
danburzo committed Mar 2, 2018
2 parents 5daa89d + bf34a4c commit 6c0a509
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/collapseGroups.js
Expand Up @@ -63,6 +63,8 @@ exports.fn = function(item) {
inner.addAttr(attr);
} else if (attr.name == 'transform') {
inner.attr(attr.name).value = attr.value + ' ' + inner.attr(attr.name).value;
} else if (inner.hasAttr(attr.name, 'inherit')) {
inner.attr(attr.name).value = attr.value;
} else if (
attrsInheritable.indexOf(attr.name) < 0 &&
!inner.hasAttr(attr.name, attr.value)
Expand Down
17 changes: 17 additions & 0 deletions test/plugins/collapseGroups.15.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6c0a509

Please sign in to comment.