Merge pull request #15845 from calixteman/15844
[TextLayer] Hide the text layer when it's created in order to avoid reflows (fix #15844)
This commit is contained in:
commit
ee7a947d1f
@ -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…
Reference in New Issue
Block a user