mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
make it dependent on one signle state
This commit is contained in:
parent
9ea9275fbd
commit
4630001dee
1 changed files with 2 additions and 2 deletions
|
@ -325,8 +325,8 @@ const Panel = ({
|
|||
trackEvent("shape-switch", type, "ui");
|
||||
}
|
||||
switchShapes(app, {
|
||||
generic: isConvertibleGenericType(type),
|
||||
linear: isConvertibleLinearType(type),
|
||||
generic,
|
||||
linear,
|
||||
nextType: type as
|
||||
| ConvertibleGenericTypes
|
||||
| ConvertibleLinearTypes,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue