mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
confirm arrow on doubleclick (#949)
* confirm arrow on double click * change hint * fix cursor not updating on click
This commit is contained in:
parent
254a0753ff
commit
b7da524538
7 changed files with 95 additions and 16 deletions
|
@ -1,4 +1,5 @@
|
|||
export const DRAGGING_THRESHOLD = 10; // 10px
|
||||
export const ARROW_CONFIRM_THRESHOLD = 10; // 10px
|
||||
export const ELEMENT_SHIFT_TRANSLATE_AMOUNT = 5;
|
||||
export const ELEMENT_TRANSLATE_AMOUNT = 1;
|
||||
export const TEXT_TO_CENTER_SNAP_THRESHOLD = 30;
|
||||
|
@ -6,6 +7,7 @@ export const CURSOR_TYPE = {
|
|||
TEXT: "text",
|
||||
CROSSHAIR: "crosshair",
|
||||
GRABBING: "grabbing",
|
||||
POINTER: "pointer",
|
||||
};
|
||||
export const POINTER_BUTTON = {
|
||||
MAIN: 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue