From 822e5066c2aaa20589d37be73bbc2a0f4e02c6ed Mon Sep 17 00:00:00 2001 From: Vincent LAURENT Date: Mon, 27 Sep 2021 01:22:19 +0200 Subject: [PATCH] Selection false --- public/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/app.js b/public/js/app.js index 813dc38..155748f 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -210,7 +210,7 @@ loadingTask.promise.then(function(pdf) { canvasEditionHTML.height = viewport.height; canvasEditionHTML.width = viewport.width; - var canvasEdition = new fabric.Canvas('canvas-edition-' + pageIndex); + var canvasEdition = new fabric.Canvas('canvas-edition-' + pageIndex, {'selection' : false}); canvasEdition.on('mouse:move', function(event) { activeCanvas = this;