Browse Source

uncomment

Aakansha Doshi 2 years ago
parent
commit
1dbc599b88
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/element/textElement.ts

+ 1 - 1
src/element/textElement.ts

@@ -322,7 +322,7 @@ export const measureBaseline = (
   span.style.height = "1px";
   container.appendChild(span);
   const baseline = span.offsetTop + span.offsetHeight;
-  //document.body.removeChild(container);
+  document.body.removeChild(container);
   return baseline;
 };