chore: simplify line-break regexes, separate text wrapping (#8715)

This commit is contained in:
Marcel Mraz 2024-10-30 15:24:12 +02:00 committed by GitHub
parent dfaaff4432
commit 2734e646ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 1213 additions and 1039 deletions

View file

@ -47,10 +47,10 @@ import {
handleBindTextResize,
getBoundTextMaxWidth,
getApproxMinLineHeight,
wrapText,
measureText,
getMinTextElementWidth,
} from "./textElement";
import { wrapText } from "./textWrapping";
import { LinearElementEditor } from "./linearElementEditor";
import { isInGroup } from "../groups";
import { mutateElbowArrow } from "./routing";