1
0
Fork 0

🐛 Fixed #102 by adding snippets to shorthand call

This commit is contained in:
Joost De Cock 2019-09-06 18:45:43 +02:00
parent 5c2fda8a0a
commit 90da436ac0
3 changed files with 15 additions and 1 deletions

View file

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

View file

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

View file

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