Skip to content

Commit

Permalink
fix: unused params
Browse files Browse the repository at this point in the history
  • Loading branch information
hpcreery committed Jun 13, 2023
1 parent 41f2aee commit 36924ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/renderer/src/renderer/graphics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,7 @@ export class GerberGraphics extends Graphics {
newGraphic.destroy()
}

// @ts-ignore - unused param.
private retrieveGraphic(child: ImageGraphic, index: number): Graphics {
const { dcode } = child
const graphicProps = {
Expand Down Expand Up @@ -667,6 +668,7 @@ export class GerberGraphics extends Graphics {
const { children, tools } = tree
Object.assign(this.toolStore, tools)
console.time('render')
// @ts-ignore - unused param.
for (const [index, child] of children.entries()) {
//* BATCH GEOMETRY RENDERING
this.renderGraphic(child)
Expand Down

0 comments on commit 36924ec

Please sign in to comment.