mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
15-degree rotation locking (#1627)
This commit is contained in:
parent
d2ae18995c
commit
51608c07b0
2 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,7 @@ export const LINE_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;
|
||||
export const SHIFT_LOCKING_ANGLE = Math.PI / 8;
|
||||
export const SHIFT_LOCKING_ANGLE = Math.PI / 12;
|
||||
export const CURSOR_TYPE = {
|
||||
TEXT: "text",
|
||||
CROSSHAIR: "crosshair",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue