🚨 Fixed linter warnings
This commit is contained in:
parent
c42ba3ea72
commit
868d401a75
6 changed files with 18 additions and 524 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -19,7 +19,6 @@ const LineDrawing = props => {
|
|||
|
||||
LineDrawing.propTypes = {
|
||||
size: PropTypes.number,
|
||||
viewBox: PropTypes.string,
|
||||
pattern: PropTypes.string,
|
||||
style: PropTypes.object
|
||||
}
|
||||
|
|
|
@ -166,11 +166,9 @@ export const withoutBreasts = {
|
|||
headCircumference: 590,
|
||||
hipsCircumference: 995,
|
||||
hipsToUpperLeg: 220,
|
||||
naturalWaist: 925,
|
||||
naturalWaistToHip: 120,
|
||||
neckCircumference: 416,
|
||||
shoulderSlope: 55,
|
||||
shoulderToElbow: 415,
|
||||
shoulderToShoulder: 470,
|
||||
shoulderToWrist: 690,
|
||||
upperLegCircumference: 630,
|
||||
|
|
|
@ -40,18 +40,16 @@ export default part => {
|
|||
}
|
||||
paths.seam.close().attr('class', 'fabric')
|
||||
|
||||
if (complete) {
|
||||
if (sa) paths.sa = paths.seam.offset(sa).attr('class', 'fabric sa')
|
||||
if (sa) paths.sa = paths.seam.offset(sa).attr('class', 'fabric sa')
|
||||
|
||||
points.title = new Point(points.dartWaistLeft.x / 2, points.waist.y)
|
||||
macro('title', {
|
||||
nr: 3,
|
||||
at: points.title,
|
||||
title: 'frontFacing'
|
||||
})
|
||||
points.logo = points.closureTop.shiftFractionTowards(points.dartWaistLeft, 0.5)
|
||||
snippets.logo = new Snippet('logo', points.logo)
|
||||
}
|
||||
points.title = new Point(points.dartWaistLeft.x / 2, points.waist.y)
|
||||
macro('title', {
|
||||
nr: 3,
|
||||
at: points.title,
|
||||
title: 'frontFacing'
|
||||
})
|
||||
points.logo = points.closureTop.shiftFractionTowards(points.dartWaistLeft, 0.5)
|
||||
snippets.logo = new Snippet('logo', points.logo)
|
||||
|
||||
return part
|
||||
}
|
||||
|
|
|
@ -24,17 +24,15 @@ export default part => {
|
|||
paths.seam.curve(points.splitDartHemRightCp2, points.splitHemCp1, points.hem)
|
||||
} else paths.seam.line(points.hem)
|
||||
|
||||
if (complete) {
|
||||
if (sa) paths.sa = paths.seam.offset(sa).attr('class', 'fabric sa')
|
||||
points.title = points.armhole.shiftFractionTowards(points.dartTop, 0.5)
|
||||
macro('title', {
|
||||
nr: 4,
|
||||
at: points.title,
|
||||
title: 'frontLining'
|
||||
})
|
||||
points.logo = points.dartWaistRight.shiftFractionTowards(points.waist, 0.5)
|
||||
snippets.logo = new Snippet('logo', points.logo)
|
||||
}
|
||||
if (sa) paths.sa = paths.seam.offset(sa).attr('class', 'fabric sa')
|
||||
points.title = points.armhole.shiftFractionTowards(points.dartTop, 0.5)
|
||||
macro('title', {
|
||||
nr: 4,
|
||||
at: points.title,
|
||||
title: 'frontLining'
|
||||
})
|
||||
points.logo = points.dartWaistRight.shiftFractionTowards(points.waist, 0.5)
|
||||
snippets.logo = new Snippet('logo', points.logo)
|
||||
|
||||
return part
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue