gantt-task-react-powern 0.4.1 → 0.4.2
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 +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -0
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -119,6 +119,9 @@ var ganttDateRange = function ganttDateRange(tasks, viewMode, preStepsCount) {
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
+
newStartDate = addToDate(newStartDate, -7, "day");
|
|
123
|
+
newEndDate = addToDate(newEndDate, -7, "day");
|
|
124
|
+
|
|
122
125
|
switch (viewMode) {
|
|
123
126
|
case ViewMode.Year:
|
|
124
127
|
newStartDate = addToDate(newStartDate, -1, "year");
|
|
@@ -1253,6 +1256,7 @@ var convertToMilestone = function convertToMilestone(task, index, dates, columnW
|
|
|
1253
1256
|
};
|
|
1254
1257
|
|
|
1255
1258
|
var taskXCoordinate = function taskXCoordinate(xDate, dates, columnWidth) {
|
|
1259
|
+
console.log(xDate);
|
|
1256
1260
|
console.log(dates);
|
|
1257
1261
|
var index = dates.findIndex(function (d) {
|
|
1258
1262
|
return d.getTime() >= xDate.getTime();
|