mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
[Editor] Avoid to update default params too early
This commit is contained in:
parent
1865bb6526
commit
e91d67563f
1 changed files with 4 additions and 0 deletions
|
@ -658,6 +658,10 @@ class AnnotationEditorUIManager {
|
|||
* @param {*} value
|
||||
*/
|
||||
updateParams(type, value) {
|
||||
if (!this.#editorTypes) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (const editor of this.#selectedEditors) {
|
||||
editor.updateParams(type, value);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue