1
0
Fork 0

Removes several pieces of useless code identified by Deepscan.

This commit is contained in:
Thrunic 2024-05-01 12:49:39 -04:00
parent adeb3fbe0b
commit 755e2da326
2 changed files with 9 additions and 12 deletions

View file

@ -273,8 +273,6 @@ function draftBack({
points.hammerLoopMax,
options.hammerLoopCurve
)
const hammerLoopStartAngle = points.hammerLoopTop.angle(points.hammerLoopMax)
const hammerLoopEndAngle = points.hammerLoopMax.angle(points.hammerLoopOutseam)
const hammerLoopWidth = pocketMetric * options.hammerLoopWidth
paths.centerSeam = new Path()
@ -641,7 +639,7 @@ function draftBack({
export const back = {
name: 'back',
after: front,
after: bib,
draft: draftBack,
options: {
// What angle the back bib leaves the outseam at. 0 is horizontal, 90 is vertical.
@ -766,5 +764,4 @@ export const back = {
hammerLoopFirstFold: { pct: 90, min: 0, max: 100, menu: 'style' },
hammerLoopSecondFold: { pct: 60, min: 0, max: 200, menu: 'style' },
},
after: bib,
}