gantt-task-react-powern 0.4.5 → 0.4.7

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.
@@ -117,6 +117,14 @@ var ganttDateRange = function ganttDateRange(tasks, viewMode, preStepsCount) {
117
117
  if (task.end > newEndDate) {
118
118
  newEndDate = task.end;
119
119
  }
120
+
121
+ if (task.actualStart < newStartDate) {
122
+ newStartDate = task.actualStart;
123
+ }
124
+
125
+ if (task.actualEnd > newEndDate) {
126
+ newEndDate = task.actualEnd;
127
+ }
120
128
  }
121
129
 
122
130
  switch (viewMode) {