mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
JS - Add support for display property
- in annotation_layer, move common properties treatment in a common method instead having duplicated code in each widget.
This commit is contained in:
parent
afb8c4fd25
commit
af125cd299
6 changed files with 197 additions and 141 deletions
|
@ -310,6 +310,7 @@ class PDFScriptingManager {
|
|||
}
|
||||
|
||||
delete detail.id;
|
||||
delete detail.siblings;
|
||||
|
||||
const ids = siblings ? [id, ...siblings] : [id];
|
||||
for (const elementId of ids) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue