move measurements related utils to textMeasurements.ts

This commit is contained in:
Aakansha Doshi 2023-03-15 12:20:31 +05:30
parent 54bf3d9092
commit e900cb0b64
12 changed files with 491 additions and 482 deletions

View file

@ -17,7 +17,8 @@ import { KEYS } from "../keys";
import { LinearElementEditor } from "../element/linearElementEditor";
import { queryByTestId, queryByText } from "@testing-library/react";
import { resize, rotate } from "./utils";
import { wrapText, getBoundTextMaxWidth } from "../element/textElement";
import { getBoundTextMaxWidth } from "../element/textElement";
import { wrapText } from "../element/textMeasurements";
import * as textElementUtils from "../element/textElement";
import { ROUNDNESS } from "../constants";