mirror of
https://github.com/24eme/signaturepdf
synced 2026-03-14 13:55:44 +01:00
toolbox: follow object
This commit is contained in:
parent
e1f8a4c0bc
commit
1cc7bd08f9
1 changed files with 3 additions and 0 deletions
|
|
@ -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()
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue