Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <luzar.david@gmail.com> Co-authored-by: Lipis <lipiridis@gmail.com>
This commit is contained in:
@ -8,6 +8,7 @@ import {
|
||||
FontFamily,
|
||||
GroupId,
|
||||
ExcalidrawBindableElement,
|
||||
Arrowhead,
|
||||
} from "./element/types";
|
||||
import { SHAPES } from "./shapes";
|
||||
import { Point as RoughPoint } from "roughjs/bin/geometry";
|
||||
@ -60,6 +61,10 @@ export type AppState = {
|
||||
currentItemFontSize: number;
|
||||
currentItemTextAlign: TextAlign;
|
||||
currentItemStrokeSharpness: ExcalidrawElement["strokeSharpness"];
|
||||
currentItemArrowheads: {
|
||||
start: Arrowhead | null;
|
||||
end: Arrowhead | null;
|
||||
};
|
||||
currentItemLinearStrokeSharpness: ExcalidrawElement["strokeSharpness"];
|
||||
viewBackgroundColor: string;
|
||||
scrollX: FlooredNumber;
|
||||
|
Reference in New Issue
Block a user