1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2024-06-04 15:02:29 +02:00

Fix swipe pour scroller dans les pages du pdf

This commit is contained in:
Vincent LAURENT 2021-10-07 21:48:10 +02:00
parent 4c43669252
commit 0d2b9d60d9
2 changed files with 3 additions and 4 deletions

View file

@ -419,11 +419,10 @@ loadingTask.promise.then(function(pdf) {
var renderTask = page.render(renderContext);
var canvasEdition = new fabric.Canvas('canvas-edition-' + pageIndex, {
selection : false
selection : false,
allowTouchScrolling: true
});
canvasEdition.allowTouchScrolling = true;
document.getElementById('canvas-container-' + pageIndex).addEventListener('drop', function(event) {
var input_selected = document.querySelector('input[name="svg_2_add"]:checked');
if(!input_selected) {

File diff suppressed because one or more lines are too long