diff --git a/src/display/editor/tools.js b/src/display/editor/tools.js index 82e1c3ecf..884205a4b 100644 --- a/src/display/editor/tools.js +++ b/src/display/editor/tools.js @@ -998,7 +998,7 @@ class AnnotationEditorUIManager { return; } - if (this.#selectEditors.size === 0) { + if (this.#selectedEditors.size === 0) { return; } for (const editor of this.#selectedEditors) {