trying to capture the element.id of the element where it breaks....
This commit is contained in:
parent
e82918f1c8
commit
94a9e82228
@ -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…
x
Reference in New Issue
Block a user