1
0
mirror of https://github.com/24eme/signaturepdf.git synced 2023-08-25 09:33:08 +02:00

Selection false

This commit is contained in:
Vincent LAURENT 2021-09-27 01:22:19 +02:00
parent 2cc2897bbd
commit 822e5066c2

View File

@ -210,7 +210,7 @@ loadingTask.promise.then(function(pdf) {
canvasEditionHTML.height = viewport.height; canvasEditionHTML.height = viewport.height;
canvasEditionHTML.width = viewport.width; 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) { canvasEdition.on('mouse:move', function(event) {
activeCanvas = this; activeCanvas = this;