1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2026-03-14 13:55:44 +01:00

toolbox: follow object

This commit is contained in:
Gabriel Poma 2025-07-02 17:00:54 +02:00
commit 1cc7bd08f9

View file

@ -178,6 +178,9 @@ async function loadPDF(pdfBlob) {
toolBox.init(event.selected[0])
});
canvasEdition.on("object:modified", function(event) {
toolBox.init(event.target)
});
canvasEdition.on("selection:cleared", function(event) {
toolBox.reset()
});