Merge pull request #21219 from calixteman/issue21217

Clear the text layer container when cancelling rendering
This commit is contained in:
Tim van der Meij 2026-05-05 20:19:13 +02:00 committed by GitHub
commit a1d9f13278
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -155,6 +155,8 @@ class TextLayerBuilder {
cancel() {
this.#textLayer?.cancel();
this.#textLayer = null;
this.#renderingDone = false;
this.div.replaceChildren();
this.highlighter?.disable();
this.accessibilityManager?.disable();