Skip to content

Commit

Permalink
[TextLayer] Hide the text layer when it's created in order to avoid r…
Browse files Browse the repository at this point in the history
…eflows (fix mozilla#15844)
  • Loading branch information
calixteman committed Dec 16, 2022
1 parent cb212b2 commit c3a3ba2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/text_layer_builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class TextLayerBuilder {

this.div = document.createElement("div");
this.div.className = "textLayer";
this.hide();
}

#finishRendering() {
Expand Down

0 comments on commit c3a3ba2

Please sign in to comment.