diff --git a/designs/walburga/src/back.mjs b/designs/walburga/src/back.mjs index 58ae160da81..7898324a1a0 100644 --- a/designs/walburga/src/back.mjs +++ b/designs/walburga/src/back.mjs @@ -1,7 +1,13 @@ import { base } from './base.mjs' -function walburgaBack(part) { - const { points, macro, complete, snippets, Snippet } = part.shorthand() +function walburgaBack({ + points, + macro, + complete, + snippets, + Snippet, + part, +}) { // Complete? if (complete) { diff --git a/designs/walburga/src/base.mjs b/designs/walburga/src/base.mjs index 205e6bb6d8c..3294f1af65b 100644 --- a/designs/walburga/src/base.mjs +++ b/designs/walburga/src/base.mjs @@ -1,22 +1,22 @@ import { pluginBundle } from '@freesewing/plugin-bundle' -function walburgaBase(part) { - const { - Point, - points, - Path, - paths, - measurements, - options, - macro, - complete, - snippets, - Snippet, - sa, - paperless, - store, - utils, - } = part.shorthand() +function walburgaBase({ + Point, + points, + Path, + paths, + measurements, + options, + macro, + complete, + snippets, + Snippet, + sa, + paperless, + store, + utils, + part, +}) { // define some variables const hem_pos = diff --git a/designs/walburga/src/front.mjs b/designs/walburga/src/front.mjs index 37e7debea55..25b8adee08f 100644 --- a/designs/walburga/src/front.mjs +++ b/designs/walburga/src/front.mjs @@ -1,21 +1,21 @@ import { base, neckline, neckoRatio } from './base.mjs' -function walburgaFront(part) { - const { - points, - Path, - paths, - measurements, - options, - macro, - complete, - snippets, - Snippet, - sa, - paperless, - store, - utils, - } = part.shorthand() +function walburgaFront({ + points, + Path, + paths, + measurements, + options, + macro, + complete, + snippets, + Snippet, + sa, + paperless, + store, + utils, + part, +}) { const head = store.get('hhead') * 2 const goldenRatio = store.get('goldenRatio')