gantt-task-react-powern 0.4.54 → 0.4.56

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/index.js CHANGED
@@ -1220,7 +1220,7 @@ var drownPathAndTriangle = function drownPathAndTriangle(taskFrom, taskTo, rowHe
1220
1220
  } else if (taskTo.x1 > 0) taskToStart = taskTo.x1;else if (taskTo.actualx1 > 0) taskToStart = taskTo.actualx1;else taskToStart = 0;
1221
1221
 
1222
1222
  if (taskFrom.x2 > 0 && taskFrom.actualx2 > 0) {
1223
- taskFromEnd = Math.min(taskFrom.x2, taskFrom.actualx2);
1223
+ taskFromEnd = Math.max(taskFrom.x2, taskFrom.actualx2);
1224
1224
  } else if (taskFrom.x2 > 0) taskFromEnd = taskFrom.x2;else if (taskFrom.actualx2 > 0) taskFromEnd = taskFrom.actualx2;else taskFromEnd = 0;
1225
1225
 
1226
1226
  var indexCompare = taskFrom.index > taskTo.index ? -1 : 1;
@@ -1325,7 +1325,6 @@ var convertToBar = function convertToBar(task, index, dates, columnWidth, rowHei
1325
1325
  progressSelectedColor: barProgressSelectedColor
1326
1326
  }, task.styles);
1327
1327
 
1328
- console.debug(task);
1329
1328
  return _extends({}, task, {
1330
1329
  typeInternal: typeInternal,
1331
1330
  x1: x1,