1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

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.
This commit is contained in:
Jonas Jenwald 2025-01-25 13:17:25 +01:00
parent 4a513bb52e
commit b02274e5d6

View file

@ -1716,10 +1716,6 @@ class AnnotationEditorUIManager {
this.#updateModeCapability.resolve();
}
isInEditingMode() {
return this.#mode !== AnnotationEditorType.NONE;
}
addNewEditorFromKeyboard() {
if (this.currentLayer.canCreateNewEmptyEditor()) {
this.currentLayer.addNewEditor();