You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on january 28 2015 on issue #45 you had add theses lines in shape.js (commit 4e486dd )
// Remove dimension attributes if not requested if (!this.config.dimension.attributes) { svg.removeAttribute('width'); svg.removeAttribute('height'); }
However in the lastest version its seems it was removed. I'm using gulp-svg-sprite and if I don't add these lines, even if in my original svg I remove the width and height dimensions, the plugin generate the sprite with these attributes.
Could you please look into this ? Thanks.
The text was updated successfully, but these errors were encountered:
@Yoksy, the old shape.dimension.attributes setting has been replaced by svg.dimensionAttributes with commit 1de2822. Please see here for documentation on how to use it.
Hello,
on january 28 2015 on issue #45 you had add theses lines in shape.js (commit 4e486dd )
// Remove dimension attributes if not requested
if (!this.config.dimension.attributes) {
svg.removeAttribute('width');
svg.removeAttribute('height');
}
However in the lastest version its seems it was removed. I'm using gulp-svg-sprite and if I don't add these lines, even if in my original svg I remove the width and height dimensions, the plugin generate the sprite with these attributes.
Could you please look into this ? Thanks.
The text was updated successfully, but these errors were encountered: