[simon] fix: Cuff Cutting Instructions' (#338)
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/338 Reviewed-by: Joost De Cock <joostdecock@noreply.codeberg.org>
This commit is contained in:
commit
fdd94d9bb1
1 changed files with 8 additions and 2 deletions
|
@ -129,7 +129,10 @@ export const draftBarrelCuff = (part) => {
|
|||
export const decorateBarrelCuff = (part) => {
|
||||
const { macro, store, snippets, Snippet, points, measurements, options, Point } = part.shorthand()
|
||||
// Cutlist
|
||||
store.cutlist.setCut({ cut: 4, from: 'fabric' })
|
||||
store.cutlist.setCut([
|
||||
{ cut: 4, from: 'fabric' },
|
||||
{ cut: 2, from: 'interfacing' },
|
||||
])
|
||||
|
||||
// Title
|
||||
points.title = new Point(points.bottomRight.x / 2, points.bottomRight.y / 2)
|
||||
|
@ -188,7 +191,10 @@ export const draftFrenchCuff = (part) => {
|
|||
export const decorateFrenchCuff = (part) => {
|
||||
const { macro, store, snippets, Snippet, points, measurements, options, Point } = part.shorthand()
|
||||
// Cutlist
|
||||
store.cutlist.setCut({ cut: 4, from: 'fabric' })
|
||||
store.cutlist.setCut([
|
||||
{ cut: 4, from: 'fabric' },
|
||||
{ cut: 2, from: 'interfacing' },
|
||||
])
|
||||
|
||||
// Title
|
||||
points.title = new Point(points.bottomRight.x / 2, points.bottomRight.y / 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue