2
0
Эх сурвалжийг харах

trying to capture the element.id of the element where it breaks....

zsviczian 2 жил өмнө
parent
commit
94a9e82228

+ 1 - 1
src/renderer/renderElement.ts

@@ -227,7 +227,7 @@ const drawElementOnCanvas = (
         rc.draw(fillShape);
       }
       
-      context.beginPath();
+      window.navigator.clipboard.writeText(element.id);
       context.fillStyle = element.strokeColor;
       context.fill(path);