mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
setMode --> changeMode
This commit is contained in:
parent
5e55434772
commit
d0f419c18b
9 changed files with 80 additions and 42 deletions
|
@ -7,10 +7,17 @@ export const editorSetEditing = (editing: IEditorState['editing']) => ({
|
|||
type: EDITOR_ACTIONS.SET_EDITING,
|
||||
editing,
|
||||
});
|
||||
|
||||
export const editorChangeMode = (mode: IEditorState['mode']) => ({
|
||||
type: EDITOR_ACTIONS.CHANGE_MODE,
|
||||
mode,
|
||||
});
|
||||
|
||||
export const editorSetMode = (mode: IEditorState['mode']) => ({
|
||||
type: EDITOR_ACTIONS.SET_MODE,
|
||||
mode,
|
||||
});
|
||||
|
||||
export const editorSetDistance = (distance: IEditorState['distance']) => ({
|
||||
type: EDITOR_ACTIONS.SET_DISTANCE,
|
||||
distance,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue