mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
trying to capture the element.id of the element where it breaks....
This commit is contained in:
parent
e82918f1c8
commit
94a9e82228
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ const drawElementOnCanvas = (
|
||||||
rc.draw(fillShape);
|
rc.draw(fillShape);
|
||||||
}
|
}
|
||||||
|
|
||||||
context.beginPath();
|
window.navigator.clipboard.writeText(element.id);
|
||||||
context.fillStyle = element.strokeColor;
|
context.fillStyle = element.strokeColor;
|
||||||
context.fill(path);
|
context.fill(path);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue