diff --git a/CHANGELOG.md b/CHANGELOG.md index 426f1897190..139a8c86acd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -52,6 +52,7 @@ #### Fixed - [#100](https://github.com/freesewing/freesewing.org/issues/100): Updated simon with more sensible defaults for ease options + - [#102](https://github.com/freesewing/freesewing.org/issues/102): Fixed 'Snippets not defined' error when drafting a seperate button placket ### utils diff --git a/config/changelog.yaml b/config/changelog.yaml index 679a308b25a..f79bcd3663d 100644 --- a/config/changelog.yaml +++ b/config/changelog.yaml @@ -30,6 +30,8 @@ Unreleased: simon: - "[#100](https://github.com/freesewing/freesewing.org/issues/100): Updated simon with more sensible defaults for ease options" + - "[#102](https://github.com/freesewing/freesewing.org/issues/102): + Fixed 'Snippets not defined' error when drafting a seperate button placket" utils: - Removed lingering debug statement in formatImperial Security: diff --git a/packages/simon/src/frontright-classic-seperate.js b/packages/simon/src/frontright-classic-seperate.js index f016465f949..630bf7ea1f5 100644 --- a/packages/simon/src/frontright-classic-seperate.js +++ b/packages/simon/src/frontright-classic-seperate.js @@ -1,5 +1,16 @@ export default part => { - let { utils, sa, Point, points, paths, complete, paperless, macro, options } = part.shorthand() + let { + snippets, + utils, + sa, + Point, + points, + paths, + complete, + paperless, + macro, + options + } = part.shorthand() let width = options.buttonPlacketWidth points.placketTopIn = utils.lineIntersectsCurve(