Update renderElement.ts

This commit is contained in:
zsviczian
2022-11-20 21:06:27 +01:00
committed by GitHub
parent 2eb259ae48
commit 82e56919ca

View File

@@ -228,7 +228,7 @@ const drawElementOnCanvas = (
} }
context.fillStyle = element.strokeColor; context.fillStyle = element.strokeColor;
if(Math.random()>0.5) context.fill(path); context.fill(path);
context.restore(); context.restore();
break; break;