gantt-task-react-powern 0.4.74 → 0.4.76
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 +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -1563,7 +1563,11 @@ var taskXCoordinate = function taskXCoordinate(xDate, dates, columnWidth) {
|
|
|
1563
1563
|
}) - 1;
|
|
1564
1564
|
|
|
1565
1565
|
if (index < 0) {
|
|
1566
|
-
|
|
1566
|
+
if (dates[dates.length - 1].getTime() <= xDate.getTime()) {
|
|
1567
|
+
return dates.length * columnWidth;
|
|
1568
|
+
} else {
|
|
1569
|
+
return 0;
|
|
1570
|
+
}
|
|
1567
1571
|
}
|
|
1568
1572
|
|
|
1569
1573
|
var remainderMillis = xDate.getTime() - dates[index].getTime();
|