Aakansha Doshi 2 yıl önce
ebeveyn
işleme
bc5e5e1ef0
2 değiştirilmiş dosya ile 0 ekleme ve 2 silme
  1. 0 1
      src/element/newElement.ts
  2. 0 1
      src/element/textElement.ts

+ 0 - 1
src/element/newElement.ts

@@ -30,7 +30,6 @@ import {
   wrapText,
   getMaxContainerWidth,
   getDefaultLineHeight,
-  measureBaseline,
 } from "./textElement";
 import { VERTICAL_ALIGN } from "../constants";
 import { isArrowElement } from "./typeChecks";

+ 0 - 1
src/element/textElement.ts

@@ -305,7 +305,6 @@ export const measureBaseline = (
   container.style.whiteSpace = "pre";
   container.style.font = font;
   container.style.minHeight = "1em";
-  console.log("HEYYY you are here!!");
   if (wrapInContainer) {
     container.style.overflow = "hidden";
     container.style.wordBreak = "break-word";