mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-17 22:40:54 +02:00
80% by length
This commit is contained in:
@@ -1266,7 +1266,7 @@ export const snapToCenter = (
|
|||||||
elementsMap: ElementsMap,
|
elementsMap: ElementsMap,
|
||||||
p: GlobalPoint,
|
p: GlobalPoint,
|
||||||
): GlobalPoint => {
|
): GlobalPoint => {
|
||||||
const percent = 0.94868; // 90% by volume
|
const percent = 0.8;
|
||||||
|
|
||||||
const isPointDeepInside = isPointInElement(
|
const isPointDeepInside = isPointInElement(
|
||||||
p,
|
p,
|
||||||
|
Reference in New Issue
Block a user