@flowgram.ai/renderer 0.1.30 → 0.1.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -1242,8 +1242,8 @@ function createLines(props) {
1242
1242
  const { renderData } = data;
1243
1243
  const { isVertical } = data.entity;
1244
1244
  const { lineActivated } = renderData || {};
1245
- const draggingLineHide = line.type === FlowTransitionLineEnum2.DRAGGING_LINE && !dragService.isDroppableBranch(data.entity, line.side);
1246
- const draggingLineActivated = line.type === FlowTransitionLineEnum2.DRAGGING_LINE && data.entity?.id === dragService.dropNodeId && line.side === dragService.labelSide;
1245
+ const draggingLineHide = (line.type === FlowTransitionLineEnum2.DRAGGING_LINE || line.isDraggingLine) && !dragService.isDroppableBranch(data.entity, line.side);
1246
+ const draggingLineActivated = (line.type === FlowTransitionLineEnum2.DRAGGING_LINE || line.isDraggingLine) && data.entity?.id === dragService.dropNodeId && line.side === dragService.labelSide;
1247
1247
  switch (line.type) {
1248
1248
  case FlowTransitionLineEnum2.STRAIGHT_LINE:
1249
1249
  return /* @__PURE__ */ React7.createElement(