1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

[Editor] Set the canvas in the stamp editor at the right position in odd spread mode

This commit is contained in:
Calixte Denizet 2024-06-18 17:55:55 +02:00
parent 4c041586fb
commit acf8600a3d
3 changed files with 52 additions and 0 deletions

View file

@ -508,6 +508,8 @@
width: 100%;
height: 100%;
margin: 0;
top: 0;
left: 0;
}
}

View file

@ -372,6 +372,12 @@ const PDFViewerApplication = {
params.get("supportscaretbrowsingmode") === "true"
);
}
if (params.has("spreadmodeonload")) {
AppOptions.set(
"spreadModeOnLoad",
parseInt(params.get("spreadmodeonload"))
);
}
}
},