allow the (rectangle, diamond, ellipse) shape to be changed with shortcut cmd+R,D,E

This commit is contained in:
Xu Desheng 2025-04-03 16:54:53 -04:00
parent c79e892e55
commit db31855e26
8 changed files with 1853 additions and 2063 deletions

View file

@ -412,3 +412,6 @@ export type NonDeletedSceneElementsMap = Map<
export type ElementsMapOrArray =
| readonly ExcalidrawElement[]
| Readonly<ElementsMap>;
/** Supported shape types for shape conversion */
export type ShapeType = "rectangle" | "diamond" | "ellipse";