don't fill

This commit is contained in:
zsviczian 2022-11-20 20:26:14 +01:00 committed by GitHub
parent e1f9b89f0a
commit 2be34b770a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -221,14 +221,14 @@ const drawElementOnCanvas = (
context.fillStyle = element.strokeColor; context.fillStyle = element.strokeColor;
const path = getFreeDrawPath2D(element) as Path2D; const path = getFreeDrawPath2D(element) as Path2D;
const fillShape = getShapeForElement(element); /*const fillShape = getShapeForElement(element);
if (fillShape) { if (fillShape) {
rc.draw(fillShape); rc.draw(fillShape);
} }*/
//context.fillStyle = element.strokeColor; context.fillStyle = element.strokeColor;
//context.fill(path); context.fill(path);
context.restore(); context.restore();
break; break;