mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 17:55:37 +02:00
[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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue