1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 01:58:06 +02:00

Move the internal API/Worker isEditing-state into RenderingIntentFlag

In *hindsight* this seems like a better idea, since it avoids the need to manually pass `isEditing` around as a boolean value.
Note that `RenderingIntentFlag` is *internal* functionality, not exposed in the official API, which means that it can be extended and modified as necessary.
This commit is contained in:
Jonas Jenwald 2024-07-04 21:21:57 +02:00
parent 790470c1aa
commit a4ffc1066c
4 changed files with 7 additions and 6 deletions

View file

@ -752,7 +752,6 @@ class WorkerMessageHandler {
intent: data.intent,
cacheKey: data.cacheKey,
annotationStorage: data.annotationStorage,
isEditing: data.isEditing,
modifiedIds: data.modifiedIds,
})
.then(