2020-03-07 10:20:38 -05:00
|
|
|
export const DRAGGING_THRESHOLD = 10; // 10px
|
2020-03-18 16:43:06 +01:00
|
|
|
export const ARROW_CONFIRM_THRESHOLD = 10; // 10px
|
2020-03-07 10:20:38 -05:00
|
|
|
export const ELEMENT_SHIFT_TRANSLATE_AMOUNT = 5;
|
|
|
|
export const ELEMENT_TRANSLATE_AMOUNT = 1;
|
|
|
|
export const TEXT_TO_CENTER_SNAP_THRESHOLD = 30;
|
|
|
|
export const CURSOR_TYPE = {
|
|
|
|
TEXT: "text",
|
|
|
|
CROSSHAIR: "crosshair",
|
|
|
|
GRABBING: "grabbing",
|
2020-03-18 16:43:06 +01:00
|
|
|
POINTER: "pointer",
|
2020-03-07 10:20:38 -05:00
|
|
|
};
|
|
|
|
export const POINTER_BUTTON = {
|
|
|
|
MAIN: 0,
|
|
|
|
WHEEL: 1,
|
|
|
|
SECONDARY: 2,
|
|
|
|
TOUCH: -1,
|
|
|
|
};
|