This commit is contained in:
Vanessa 2023-04-04 11:19:32 +08:00
parent 18c7d76886
commit d7c3e85b67

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;
}