From 54d7a7da5027d1d48c4bb616915539be8db5d775 Mon Sep 17 00:00:00 2001 From: George Satellite Date: Tue, 14 Nov 2023 22:14:42 +0200 Subject: [PATCH] draw: cleanup dead code --- src/components/pages/Generator/CanvasSection/utils/draw.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/pages/Generator/CanvasSection/utils/draw.ts b/src/components/pages/Generator/CanvasSection/utils/draw.ts index 49229e1..02d8bd4 100644 --- a/src/components/pages/Generator/CanvasSection/utils/draw.ts +++ b/src/components/pages/Generator/CanvasSection/utils/draw.ts @@ -75,7 +75,6 @@ export const draw = ({ const renderStartTimeMs = performance.now(); clearCanvas(ctx2d); - // ClearCanvas(ctx2dNormal); drawBackground({ctx2d, backgroundBrightness}); @@ -140,7 +139,6 @@ export const draw = ({ } }, onEnd() { - // DrawNormal({ctx2d, ctx2dNormal}); const renderTimeMs = performance.now() - renderStartTimeMs; onEnd(renderTimeMs); },