Skip to content

Commit

Permalink
[signature] fabricjs event scaled become modified
Browse files Browse the repository at this point in the history
  • Loading branch information
wincelau committed Oct 13, 2024
1 parent d54eb95 commit 220dc4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/signature.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ async function loadPDF(pdfBlob) {
event.target.scaleX = event.target.scaleY;
}
});
canvasEdition.on('object:scaled', function(event) {
canvasEdition.on('object:modified', function(event) {
if (event.target instanceof fabric.IText) {
currentTextScale = event.target.scaleX;
return;
Expand Down

0 comments on commit 220dc4e

Please sign in to comment.