forwards and backwards drawing

This commit is contained in:
Fedor Katurov 2020-01-22 15:16:34 +07:00
parent bbd7d6a89a
commit ad676d5fde
11 changed files with 119 additions and 21 deletions

View file

@ -146,3 +146,8 @@ export const editorRedo = () => ({
export const editorCaptureHistory = () => ({
type: EDITOR_ACTIONS.CAPTURE_HIPSTORY,
});
export const editorSetDirection = (drawing_direction: IEditorState['drawing_direction']) => ({
type: EDITOR_ACTIONS.SET_DIRECTION,
drawing_direction,
});