Merge pull request #16661 from Snuffleupagus/issue-16660
Don't try to hide an already invisible PopupAnnotation (issue 16660)
This commit is contained in:
commit
c625230c71
@ -2157,7 +2157,7 @@ class PopupElement {
|
|||||||
*/
|
*/
|
||||||
#hide() {
|
#hide() {
|
||||||
this.#container.classList.remove("focused");
|
this.#container.classList.remove("focused");
|
||||||
if (this.#pinned) {
|
if (this.#pinned || !this.isVisible) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.#container.hidden = true;
|
this.#container.hidden = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user