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

This commit is contained in:
zsviczian 2022-11-20 20:56:26 +01:00 committed by GitHub
parent e82918f1c8
commit 94a9e82228
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);