refactor: FONT_FAMILY and related helpers

This commit is contained in:
dwelle
2023-08-25 21:05:45 +02:00
parent de1ebad755
commit ffa4cea61c
23 changed files with 130 additions and 115 deletions
+1 -1
View File
@@ -34,7 +34,6 @@ import {
isTextElement,
} from "./typeChecks";
import { mutateElement } from "./mutateElement";
import { getFontString } from "../utils";
import { updateBoundElements } from "./binding";
import {
TransformHandleType,
@@ -53,6 +52,7 @@ import {
getApproxMinLineHeight,
measureText,
getBoundTextMaxHeight,
getFontString,
} from "./textElement";
import { LinearElementEditor } from "./linearElementEditor";