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:
@ -28,6 +28,8 @@ export const canChangeSharpness = (type: string) =>
|
||||
|
||||
export const hasText = (type: string) => type === "text";
|
||||
|
||||
export const canHaveArrowheads = (type: string) => type === "arrow";
|
||||
|
||||
export const getElementAtPosition = (
|
||||
elements: readonly NonDeletedExcalidrawElement[],
|
||||
isAtPositionFn: (element: NonDeletedExcalidrawElement) => boolean,
|
||||
|
Reference in New Issue
Block a user