mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-16 18:54:34 +01:00
chore: Remove debug
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
import {
|
import {
|
||||||
debugDrawLine,
|
|
||||||
DEFAULT_ADAPTIVE_RADIUS,
|
DEFAULT_ADAPTIVE_RADIUS,
|
||||||
DEFAULT_PROPORTIONAL_RADIUS,
|
DEFAULT_PROPORTIONAL_RADIUS,
|
||||||
invariant,
|
invariant,
|
||||||
@@ -617,9 +616,5 @@ export const projectFixedPointOntoDiagonal = (
|
|||||||
p = p1 || p2 || null;
|
p = p1 || p2 || null;
|
||||||
}
|
}
|
||||||
|
|
||||||
debugDrawLine(diagonalOne, { color: "purple", permanent: false });
|
|
||||||
debugDrawLine(diagonalTwo, { color: "purple", permanent: false });
|
|
||||||
debugDrawLine(intersector, { color: "orange", permanent: false });
|
|
||||||
|
|
||||||
return p && isPointInElement(p, element, elementsMap) ? p : null;
|
return p && isPointInElement(p, element, elementsMap) ? p : null;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user