diff --git a/CHANGELOG.md b/CHANGELOG.md index 139a8c86acd..1d18839c0da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -53,6 +53,7 @@ - [#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 + - [#103](https://github.com/freesewing/freesewing.org/issues/103): Fixed 'hemSa not defined' when drafting paperless Simon without seam allowance ### utils diff --git a/config/changelog.yaml b/config/changelog.yaml index f79bcd3663d..0095bf3c84e 100644 --- a/config/changelog.yaml +++ b/config/changelog.yaml @@ -32,6 +32,8 @@ Unreleased: 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" + - "[#103](https://github.com/freesewing/freesewing.org/issues/103): + Fixed 'hemSa not defined' when drafting paperless Simon without seam allowance" utils: - Removed lingering debug statement in formatImperial Security: diff --git a/packages/simon/src/frontright.js b/packages/simon/src/frontright.js index 3dab4cf5b97..2c1028e63f4 100644 --- a/packages/simon/src/frontright.js +++ b/packages/simon/src/frontright.js @@ -16,8 +16,10 @@ export default part => { to: points.neck, d: 15 + sa }) - paths.hemSa.attr('data-text-dy', 7, true) - paths.saFrench.attr('data-text-dy', 7, true) + if (sa) { + paths.hemSa.attr('data-text-dy', 7, true) + paths.saFrench.attr('data-text-dy', 7, true) + } } }