Merge pull request #21470 from Snuffleupagus/AnnotationEditorUIManager-rm-isSelected

Remove the unused `AnnotationEditorUIManager.prototype.isSelected` method
This commit is contained in:
Tim van der Meij 2026-06-21 19:09:32 +02:00 committed by GitHub
commit 86b901fcde
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2545,14 +2545,6 @@ class AnnotationEditorUIManager {
});
}
/**
* Check if the editor is selected.
* @param {AnnotationEditor} editor
*/
isSelected(editor) {
return this.#selectedEditors.has(editor);
}
get firstSelectedEditor() {
return this.#selectedEditors.values().next().value;
}