diff --git a/app/PreviewShape/PreviewShape.tsx b/app/PreviewShape/PreviewShape.tsx index b273d95..05c318f 100644 --- a/app/PreviewShape/PreviewShape.tsx +++ b/app/PreviewShape/PreviewShape.tsx @@ -6,6 +6,7 @@ import { HTMLContainer, SvgExportContext, TLBaseShape, + TLShapeUtilCanBindOpts, TldrawUiIcon, Vec, stopEventPropagation, @@ -48,6 +49,11 @@ export class PreviewShapeUtil extends BaseBoxShapeUtil { override canEdit = (shape: PreviewShape) => shape.props.parts.length > 0 || shape.props.html.length > 0 + override canBind = ({ bindingType }: TLShapeUtilCanBindOpts) => { + if (bindingType === 'arrow') return false + return true + } + override isAspectRatioLocked = (_shape: PreviewShape) => false override canResize = (_shape: PreviewShape) => true