Skip to content

Commit b02274e

Browse files
committed
Remove unused isInEditingMode method (PR 19311 follow-up)
This method was added in PR 19311, however it's not actually used anywhere in the code-base.
1 parent 4a513bb commit b02274e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/display/editor/tools.js

-4
Original file line numberDiff line numberDiff line change
@@ -1716,10 +1716,6 @@ class AnnotationEditorUIManager {
17161716
this.#updateModeCapability.resolve();
17171717
}
17181718

1719-
isInEditingMode() {
1720-
return this.#mode !== AnnotationEditorType.NONE;
1721-
}
1722-
17231719
addNewEditorFromKeyboard() {
17241720
if (this.currentLayer.canCreateNewEmptyEditor()) {
17251721
this.currentLayer.addNewEditor();

0 commit comments

Comments
 (0)