mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
forwards and backwards drawing
This commit is contained in:
parent
bbd7d6a89a
commit
ad676d5fde
11 changed files with 119 additions and 21 deletions
|
@ -1,5 +1,10 @@
|
|||
const P = 'EDITOR';
|
||||
|
||||
export const DRAWING_DIRECTIONS: Record<'FORWARDS' | 'BACKWARDS', 'forward' | 'backward'> = {
|
||||
FORWARDS: 'forward',
|
||||
BACKWARDS: 'backward',
|
||||
};
|
||||
|
||||
export const EDITOR_HISTORY_LENGTH = 100;
|
||||
|
||||
export const EDITOR_ACTIONS = {
|
||||
|
@ -54,4 +59,6 @@ export const EDITOR_ACTIONS = {
|
|||
UNDO: `${P}-UNDO`,
|
||||
REDO: `${P}-REDO`,
|
||||
CAPTURE_HIPSTORY: `${P}-CAPTURE_HIPSTORY`,
|
||||
|
||||
SET_DIRECTION: `${P}-SET_DIRECTION`,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue