mirror of
https://github.com/svg/svgo.git
synced 2025-07-29 20:21:14 +03:00
moveGroupAttrsToElems now applies transforms to sub-groups & text.
This commit is contained in:
@ -1,10 +1,13 @@
|
||||
'use strict';
|
||||
|
||||
exports.type = 'perItemReverse';
|
||||
exports.type = 'perItem';
|
||||
|
||||
exports.active = true;
|
||||
|
||||
var pathElems = require('./_collections.js').pathElems;
|
||||
var pathElems = require('./_collections.js').pathElems.slice();
|
||||
|
||||
pathElems.push('g');
|
||||
pathElems.push('text');
|
||||
|
||||
/**
|
||||
* Move group attrs to the content elements.
|
||||
|
Reference in New Issue
Block a user