Explorar el Código

Update renderElement.ts

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

+ 1 - 2
src/renderer/renderElement.ts

@@ -227,9 +227,8 @@ const drawElementOnCanvas = (
         rc.draw(fillShape);
       }
       
-      window.navigator.clipboard.writeText(element.id);
       context.fillStyle = element.strokeColor;
-      context.fill(path);
+      if(Math.random()>0.5) context.fill(path);
 
       context.restore();
       break;