From 2be34b770a6998f000c6cf6bf56b3c729305cbcc Mon Sep 17 00:00:00 2001 From: zsviczian Date: Sun, 20 Nov 2022 20:26:14 +0100 Subject: [PATCH] don't fill --- src/renderer/renderElement.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/renderer/renderElement.ts b/src/renderer/renderElement.ts index 05c3678e8..57fa26948 100644 --- a/src/renderer/renderElement.ts +++ b/src/renderer/renderElement.ts @@ -221,14 +221,14 @@ const drawElementOnCanvas = ( context.fillStyle = element.strokeColor; const path = getFreeDrawPath2D(element) as Path2D; - const fillShape = getShapeForElement(element); + /*const fillShape = getShapeForElement(element); if (fillShape) { rc.draw(fillShape); - } + }*/ - //context.fillStyle = element.strokeColor; - //context.fill(path); + context.fillStyle = element.strokeColor; + context.fill(path); context.restore(); break;