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

Correction temporaire pour éviter que les signatures disparaissent en

cas de redimensionnement
This commit is contained in:
Vincent LAURENT 2021-10-08 10:32:45 +02:00
parent 79250f1b7f
commit e9572ac715

View File

@ -420,8 +420,8 @@ loadingTask.promise.then(function(pdf) {
var context = canvasPDF.getContext('2d');
canvasPDF.height = viewport.height;
canvasPDF.width = viewport.width;
canvasEditionHTML.height = canvasPDF.height;
canvasEditionHTML.width = canvasPDF.width;
/*canvasEditionHTML.height = canvasPDF.height;
canvasEditionHTML.width = canvasPDF.width;*/
var renderContext = {
canvasContext: context,
viewport: viewport,