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
- [#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

View file

@ -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:

View file

@ -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)
}
}
}