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
@@ -10,6 +10,7 @@ import {
computeBoundTextPosition,
computeContainerDimensionForBoundText,
getBoundTextElement,
getFontString,
measureText,
redrawTextBoundingBox,
} from "../element/textElement";
@@ -31,7 +32,6 @@ import {
} from "../element/types";
import { AppState } from "../types";
import { Mutable } from "../utility-types";
import { getFontString } from "../utils";
import { register } from "./register";
export const actionUnbindText = register({