chore: Remove more non-needed grid snapping

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
This commit is contained in:
Mark Tolmacs
2026-03-17 20:28:29 +00:00
parent d9ab298526
commit 7c58d1f6f4
2 changed files with 1 additions and 3 deletions
+1 -2
View File
@@ -22,7 +22,7 @@ import {
} from "@excalidraw/math";
import type { LineSegment, LocalPoint, Radians } from "@excalidraw/math";
import type { AppState, NullableGridSize } from "@excalidraw/excalidraw/types";
import type { AppState } from "@excalidraw/excalidraw/types";
import type { MapEntry, Mutable } from "@excalidraw/common/utility-types";
import type { Bounds } from "@excalidraw/common";
@@ -154,7 +154,6 @@ export const bindOrUnbindBindingElement = (
altKey?: boolean;
angleLocked?: boolean;
initialBinding?: boolean;
gridSize?: NullableGridSize;
},
) => {
const { start, end } = getBindingStrategyForDraggingBindingElementEndpoints(
@@ -143,7 +143,6 @@ export const actionFinalize = register<FormData>({
newArrow,
altKey: event.altKey,
angleLocked,
gridSize: effectiveGridSize,
},
);
} else if (isLineElement(element)) {