Selaa lähdekoodia

Update renderElement.ts

zsviczian 2 vuotta sitten
vanhempi
commit
82e56919ca
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/renderer/renderElement.ts

+ 1 - 1
src/renderer/renderElement.ts

@@ -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;