boom: Updated to new plugin structure in freesewing v0.20
This commit is contained in:
parent
b69d8e87c9
commit
69740ae0c9
2 changed files with 779 additions and 780 deletions
1552
packages/plugin-title/package-lock.json
generated
1552
packages/plugin-title/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -5,10 +5,9 @@ export default {
|
|||
name: name,
|
||||
version: version,
|
||||
hooks: {
|
||||
preRender: function(next) {
|
||||
this.attributes.add("freesewing:plugin-title", version);
|
||||
this.style += style;
|
||||
next();
|
||||
preRender: function(svg) {
|
||||
svg.attributes.add("freesewing:plugin-title", version);
|
||||
svg.style += style;
|
||||
}
|
||||
},
|
||||
macros: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue