1
0
Fork 0

sparkles: Switched to attribute.set() for version info

This commit is contained in:
Joost De Cock 2018-12-08 17:39:31 +01:00
parent d6f8265273
commit dd5d0d6daa

View file

@ -6,7 +6,7 @@ export default {
version: version,
hooks: {
preRender: function(svg) {
svg.attributes.add("freesewing:plugin-logo", version);
svg.attributes.set("freesewing:plugin-logo", version);
svg.defs += logo;
svg.style += "path.logo{stroke:none;fill:#000;}";
}