Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo authored Jun 19, 2024
1 parent 678563a commit 3c603a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/display/text_layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ class TextLayer {
div.textContent = "X";
document.body.append(div);
// In `display:block` elements contain a single line of text,
// the height matched the line height (which, when set to 1,
// the height matches the line height (which, when set to 1,
// matches the actual font size).
this.#minFontSize = div.getBoundingClientRect().height;
div.remove();
Expand Down

0 comments on commit 3c603a2

Please sign in to comment.