mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Add test for drawing delay with CSS-only zoom
This commit adds a test for 0603d1ac18
.
Before the fix the `pagerendered` events would be fired just 2-3
milliseconds after the call to `increaseScale`/`decreaseScale`.
This commit is contained in:
parent
9ee7c07b83
commit
53d866660a
2 changed files with 95 additions and 1 deletions
|
@ -359,6 +359,12 @@ const PDFViewerApplication = {
|
|||
params.get("highlighteditorcolors")
|
||||
);
|
||||
}
|
||||
if (params.has("maxcanvaspixels")) {
|
||||
AppOptions.set(
|
||||
"maxCanvasPixels",
|
||||
Number(params.get("maxcanvaspixels"))
|
||||
);
|
||||
}
|
||||
if (params.has("supportscaretbrowsingmode")) {
|
||||
AppOptions.set(
|
||||
"supportsCaretBrowsingMode",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue