[fix] Don't make arrows shapes to arrows (#1793)
This PR turns off snapping between shapes and arrows. ### Change Type - [x] `patch` ### Test Plan 1. Drag a shape while snapping 2. The shape should not snap to the position of arrows
This commit is contained in:
parent
4191e23a56
commit
c7ae756c0b
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ export class ArrowShapeUtil extends ShapeUtil<TLArrowShape> {
|
|||
|
||||
override canEdit = () => true
|
||||
override canBind = () => false
|
||||
override canSnap = () => true
|
||||
override canSnap = () => false
|
||||
override hideResizeHandles: TLShapeUtilFlag<TLArrowShape> = () => true
|
||||
override hideRotateHandle: TLShapeUtilFlag<TLArrowShape> = () => true
|
||||
override hideSelectionBoundsBg: TLShapeUtilFlag<TLArrowShape> = () => true
|
||||
|
|
Loading…
Reference in a new issue