This commit is contained in:
Vanessa 2023-04-04 11:19:32 +08:00 committed by Liang Ding
parent 8d26445f72
commit d9aa26e7ad
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -106,6 +106,12 @@ class TextLayerBuilder {
this.#rotation = rotation;
}
this.show();
// NOTE
if (this.div.lastElementChild.previousElementSibling &&
this.div.lastElementChild.previousElementSibling.classList.contains("endOfContent")) {
this.div.lastElementChild.innerHTML = ""
}
getHighlight(this.div)
return;
}