@flowgram.ai/renderer 0.1.29 → 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 +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -1261,8 +1261,8 @@ function createLines(props) {
|
|
|
1261
1261
|
const { renderData } = data;
|
|
1262
1262
|
const { isVertical } = data.entity;
|
|
1263
1263
|
const { lineActivated } = renderData || {};
|
|
1264
|
-
const draggingLineHide = line.type === import_document7.FlowTransitionLineEnum.DRAGGING_LINE && !dragService.isDroppableBranch(data.entity, line.side);
|
|
1265
|
-
const draggingLineActivated = line.type === import_document7.FlowTransitionLineEnum.DRAGGING_LINE && data.entity?.id === dragService.dropNodeId && line.side === dragService.labelSide;
|
|
1264
|
+
const draggingLineHide = (line.type === import_document7.FlowTransitionLineEnum.DRAGGING_LINE || line.isDraggingLine) && !dragService.isDroppableBranch(data.entity, line.side);
|
|
1265
|
+
const draggingLineActivated = (line.type === import_document7.FlowTransitionLineEnum.DRAGGING_LINE || line.isDraggingLine) && data.entity?.id === dragService.dropNodeId && line.side === dragService.labelSide;
|
|
1266
1266
|
switch (line.type) {
|
|
1267
1267
|
case import_document7.FlowTransitionLineEnum.STRAIGHT_LINE:
|
|
1268
1268
|
return /* @__PURE__ */ import_react7.default.createElement(
|