mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +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.className = "textLayer";
|
||||
this.hide();
|
||||
}
|
||||
|
||||
#finishRendering() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue