mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
[Editor] Don't show the alt-text button when the alt-text dialog is visible
This way, the button doens't cover the image.
This commit is contained in:
parent
f5367f01ca
commit
eebd251552
3 changed files with 51 additions and 13 deletions
|
@ -264,6 +264,7 @@ class AltTextManager {
|
|||
this.#removeOnClickListeners();
|
||||
this.#uiManager?.addEditListeners();
|
||||
this.#eventBus._off("resize", this.#boundSetPosition);
|
||||
this.#currentEditor.altTextFinish();
|
||||
this.#currentEditor = null;
|
||||
this.#uiManager = null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue