1
0
Fork 0

[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:
Joost De Cock 2025-05-09 16:07:07 +00:00
commit fdd94d9bb1

View file

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