Toggle shapeSnap

This commit is contained in:
Mathias Krafft 2025-04-01 17:08:03 +02:00
parent 452373d769
commit 5ac50bdc88
No known key found for this signature in database
GPG key ID: D99E394FA2319429
8 changed files with 188 additions and 113 deletions

View file

@ -390,7 +390,6 @@ export const convertToShape = (
return newArrowElement({
...freeDrawElement,
type: recognizedShape.type,
endArrowhead: "arrow", // TODO: Get correct state
points: [
recognizedShape.simplified[0],
recognizedShape.simplified[recognizedShape.simplified.length - 2]