diff --git a/src/LGraphCanvas.ts b/src/LGraphCanvas.ts index 21f7b47525..46ea6e00b3 100644 --- a/src/LGraphCanvas.ts +++ b/src/LGraphCanvas.ts @@ -4079,9 +4079,6 @@ export class LGraphCanvas implements ConnectionColorContext { } const ctx = this.bgctx if (!ctx) throw new TypeError("Background canvas context was null.") - // TODO: Remove this - // @ts-expect-error - if (ctx.start) ctx.start() const viewport = this.viewport || [0, 0, ctx.canvas.width, ctx.canvas.height] @@ -4196,10 +4193,6 @@ export class LGraphCanvas implements ConnectionColorContext { ctx.restore() } - // TODO: Remove this - // @ts-expect-error - ctx.finish?.() - this.dirty_bgcanvas = false // Forces repaint of the front canvas. this.dirty_canvas = true