mirror of
https://github.com/24eme/signaturepdf.git
synced 2023-08-25 09:33:08 +02:00
Fix swipe pour scroller dans les pages du pdf
This commit is contained in:
parent
4c43669252
commit
0d2b9d60d9
@ -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) {
|
||||
|
2
public/vendor/fabric.min.js
vendored
2
public/vendor/fabric.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user