Update state.ts
This commit is contained in:
parent
39b943248f
commit
7247b864db
1 changed files with 5 additions and 0 deletions
|
@ -910,6 +910,11 @@ const state = createState({
|
||||||
{
|
{
|
||||||
get: 'newText',
|
get: 'newText',
|
||||||
do: 'createShape',
|
do: 'createShape',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
get: 'firstSelectedShape',
|
||||||
|
if: 'canEditSelectedShape',
|
||||||
|
do: 'setEditingId',
|
||||||
to: 'editingShape',
|
to: 'editingShape',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue