diff --git a/src/vpu-pdf-preview.js b/src/vpu-pdf-preview.js index bc1a7b7c32aabda7c13f0c4ebbd9078b42b7a93c..7e12cb725ca782946449a3376e9b334b32f46464 100644 --- a/src/vpu-pdf-preview.js +++ b/src/vpu-pdf-preview.js @@ -103,7 +103,7 @@ export class PdfPreview extends ScopedElementsMixin(VPULitElement) { fabric.Image.fromURL(commonUtils.getAssetURL('local/vpu-signature/signature-placeholder.png'), function(image) { that.sigImageOriginalWidth = image.width; // we will resize the image when the initial pdf page is loaded - that.signatureRect = that.fabricCanvas.add(image); + that.fabricCanvas.add(image); }); // this.fabricCanvas.on("object:moved", function(opt){ console.log(opt); });