1
0
Fork 0

Added snaps to plugin-buttons

This commit is contained in:
Joost De Cock 2019-05-30 21:18:25 +02:00
parent 82bde54dff
commit a1e9badc2c
3 changed files with 6 additions and 2 deletions

View file

@ -1,5 +1,6 @@
import button from "./button";
import buttonhole from "./buttonhole";
import snaps from "./snaps";
import { name, version } from "../package.json";
export default {
@ -9,7 +10,7 @@ export default {
preRender: function(svg) {
if (svg.attributes.get("freesewing:plugin-buttons") === false)
svg.attributes.set("freesewing:plugin-buttons", version);
svg.defs += button+buttonhole;
svg.defs += button + buttonhole + snaps;
}
}
};