Browse Source

Update renderElement.ts

zsviczian 2 years ago
parent
commit
2eb259ae48
1 changed files with 1 additions and 2 deletions
  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;