Update renderElement.ts

This commit is contained in:
zsviczian 2022-11-20 21:06:27 +01:00 committed by GitHub
parent 2eb259ae48
commit 82e56919ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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