From bad0fd4ba516dfafdf1c999ad0e314983b203f89 Mon Sep 17 00:00:00 2001
From: Patrizio Bekerle <patrizio@bekerle.com>
Date: Tue, 19 May 2020 11:05:51 +0200
Subject: [PATCH] Remove obsolete variable declaration (#5)

---
 src/vpu-pdf-preview.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/vpu-pdf-preview.js b/src/vpu-pdf-preview.js
index bc1a7b7..7e12cb7 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); });
-- 
GitLab