Skip to content

Commit 65bf661

Browse files
committed
lint fixes
1 parent 8c15bfc commit 65bf661

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

src/common/boundary/convex.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ import { applyCentroidScale } from "./utils"
1616
export const traceConvexBoundary = (ctx) => {
1717
const { vertices, scale, convex } = ctx
1818

19-
return applyCentroidScale(convex.map((pt) => [pt.x, pt.y]), vertices, scale)
19+
return applyCentroidScale(
20+
convex.map((pt) => [pt.x, pt.y]),
21+
vertices,
22+
scale,
23+
)
2024
}
2125

2226
// Convex hull boundary with optional centroid scaling.

src/common/boundary/fillPattern.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,13 @@ const traceFillPattern = (
5656
// Fill pattern: bounding box or convex hull + edge offset
5757
export const traceFillPatternBoundary = (ctx) => {
5858
const { vertices, bounds, inputWidth, inputHeight, scale, convex } = ctx
59-
const fillHull = traceFillPattern(bounds, inputWidth, inputHeight, convex, vertices)
59+
const fillHull = traceFillPattern(
60+
bounds,
61+
inputWidth,
62+
inputHeight,
63+
convex,
64+
vertices,
65+
)
6066

6167
return applyEdgeOffset(fillHull, scale, vertices) || fillHull
6268
}

0 commit comments

Comments
 (0)