mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
split font into fontSize and fontFamily (#1635)
This commit is contained in:
parent
46b574283f
commit
63c10743fb
17 changed files with 240 additions and 116 deletions
|
@ -5,6 +5,7 @@ import {
|
|||
NonDeleted,
|
||||
TextAlign,
|
||||
ExcalidrawElement,
|
||||
FontFamily,
|
||||
GroupId,
|
||||
} from "./element/types";
|
||||
import { SHAPES } from "./shapes";
|
||||
|
@ -35,7 +36,8 @@ export type AppState = {
|
|||
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
||||
currentItemRoughness: number;
|
||||
currentItemOpacity: number;
|
||||
currentItemFont: string;
|
||||
currentItemFontFamily: FontFamily;
|
||||
currentItemFontSize: number;
|
||||
currentItemTextAlign: TextAlign;
|
||||
viewBackgroundColor: string;
|
||||
scrollX: FlooredNumber;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue