1
0
Fork 0

🐛 Fixed 'hemSa not defined' when drafting paperless simon without seam allowance

This commit is contained in:
Joost De Cock 2019-09-06 18:51:38 +02:00
parent 90da436ac0
commit 968ac14e60
3 changed files with 7 additions and 2 deletions

View file

@ -53,6 +53,7 @@
- [#100](https://github.com/freesewing/freesewing.org/issues/100): Updated simon with more sensible defaults for ease options - [#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 - [#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 ### utils

View file

@ -32,6 +32,8 @@ Unreleased:
Updated simon with more sensible defaults for ease options" Updated simon with more sensible defaults for ease options"
- "[#102](https://github.com/freesewing/freesewing.org/issues/102): - "[#102](https://github.com/freesewing/freesewing.org/issues/102):
Fixed 'Snippets not defined' error when drafting a seperate button placket" 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: utils:
- Removed lingering debug statement in formatImperial - Removed lingering debug statement in formatImperial
Security: Security:

View file

@ -16,10 +16,12 @@ export default part => {
to: points.neck, to: points.neck,
d: 15 + sa d: 15 + sa
}) })
if (sa) {
paths.hemSa.attr('data-text-dy', 7, true) paths.hemSa.attr('data-text-dy', 7, true)
paths.saFrench.attr('data-text-dy', 7, true) paths.saFrench.attr('data-text-dy', 7, true)
} }
} }
}
return options.buttonPlacketStyle === 'seamless' return options.buttonPlacketStyle === 'seamless'
? frontRightSeamless(part) ? frontRightSeamless(part)