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");
|
trackEvent("shape-switch", type, "ui");
|
||||||
}
|
}
|
||||||
switchShapes(app, {
|
switchShapes(app, {
|
||||||
generic: isConvertibleGenericType(type),
|
generic,
|
||||||
linear: isConvertibleLinearType(type),
|
linear,
|
||||||
nextType: type as
|
nextType: type as
|
||||||
| ConvertibleGenericTypes
|
| ConvertibleGenericTypes
|
||||||
| ConvertibleLinearTypes,
|
| ConvertibleLinearTypes,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue