mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Reduced threshold to 30
This commit is contained in:
parent
0f6bcb7205
commit
f57945f941
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ function addTextElement(
|
|||
|
||||
const ELEMENT_SHIFT_TRANSLATE_AMOUNT = 5;
|
||||
const ELEMENT_TRANSLATE_AMOUNT = 1;
|
||||
const TEXT_TO_CENTER_SNAP_THRESHOLD = 60;
|
||||
const TEXT_TO_CENTER_SNAP_THRESHOLD = 30;
|
||||
|
||||
let lastCanvasWidth = -1;
|
||||
let lastCanvasHeight = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue