This commit is contained in:
Aakansha Doshi 2023-03-31 16:04:49 +05:30
parent 50ac3bf855
commit bc5e5e1ef0
2 changed files with 0 additions and 2 deletions

View file

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

View file

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