Explorar el Código

Update renderElement.ts

zsviczian hace 2 años
padre
commit
82e56919ca
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/renderer/renderElement.ts

+ 1 - 1
src/renderer/renderElement.ts

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