diff --git a/src/display/editor/tools.js b/src/display/editor/tools.js index bc75a0a71..d214d9eb3 100644 --- a/src/display/editor/tools.js +++ b/src/display/editor/tools.js @@ -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); }