[TextLayer] Hide the text layer when it's created in order to avoid reflows (fix #15844)
This commit is contained in:
parent
cb212b24fd
commit
c3a3ba2ebe
@ -59,6 +59,7 @@ class TextLayerBuilder {
|
|||||||
|
|
||||||
this.div = document.createElement("div");
|
this.div = document.createElement("div");
|
||||||
this.div.className = "textLayer";
|
this.div.className = "textLayer";
|
||||||
|
this.hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
#finishRendering() {
|
#finishRendering() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user