mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Moving font metadata into common
This commit is contained in:
parent
dfd48c221c
commit
ccbd004f22
18 changed files with 58 additions and 45 deletions
|
@ -16,6 +16,7 @@ import {
|
|||
arrayToMap,
|
||||
getSizeFromPoints,
|
||||
normalizeLink,
|
||||
getLineHeight,
|
||||
} from "@excalidraw/common";
|
||||
import {
|
||||
getNonDeletedElements,
|
||||
|
@ -65,7 +66,6 @@ import type { MarkOptional, Mutable } from "@excalidraw/common/utility-types";
|
|||
|
||||
import { getDefaultAppState } from "../appState";
|
||||
|
||||
import { getLineHeight } from "../fonts/FontMetadata";
|
||||
import {
|
||||
getNormalizedGridSize,
|
||||
getNormalizedGridStep,
|
||||
|
|
|
@ -13,6 +13,7 @@ import {
|
|||
getFontString,
|
||||
isDevEnv,
|
||||
toBrandedType,
|
||||
getLineHeight,
|
||||
} from "@excalidraw/common";
|
||||
import {
|
||||
getCommonBounds,
|
||||
|
@ -61,8 +62,6 @@ import type {
|
|||
|
||||
import type { MarkOptional } from "@excalidraw/common/utility-types";
|
||||
|
||||
import { getLineHeight } from "../fonts/FontMetadata";
|
||||
|
||||
export type ValidLinearElement = {
|
||||
type: "arrow" | "line";
|
||||
x: number;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue