mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
[api-minor] Move the page reference/number caching into the API
Rather than having to handle this *manually* throughout the viewer, this functionality can instead be moved into the API which simplifies the code slightly.
This commit is contained in:
parent
fa69d9a3bc
commit
f6cd03955b
6 changed files with 42 additions and 74 deletions
|
@ -419,6 +419,7 @@ class WorkerMessageHandler {
|
|||
return {
|
||||
rotate,
|
||||
ref,
|
||||
refStr: ref?.toString() ?? null,
|
||||
userUnit,
|
||||
view,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue