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:
parent
4c041586fb
commit
acf8600a3d
3 changed files with 52 additions and 0 deletions
|
@ -508,6 +508,8 @@
|
|||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -372,6 +372,12 @@ const PDFViewerApplication = {
|
|||
params.get("supportscaretbrowsingmode") === "true"
|
||||
);
|
||||
}
|
||||
if (params.has("spreadmodeonload")) {
|
||||
AppOptions.set(
|
||||
"spreadModeOnLoad",
|
||||
parseInt(params.get("spreadmodeonload"))
|
||||
);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue