gantt-task-react-powern 0.6.7 → 0.6.8
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 +1 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3143,8 +3143,6 @@ var Gantt = function Gantt(_ref) {
|
|
|
3143
3143
|
}
|
|
3144
3144
|
}, [startDate, endDate]);
|
|
3145
3145
|
React.useEffect(function () {
|
|
3146
|
-
console.debug("Tasks or view mode changed, recalculating bars...");
|
|
3147
|
-
|
|
3148
3146
|
if (debounceRef.current) {
|
|
3149
3147
|
clearTimeout(debounceRef.current);
|
|
3150
3148
|
}
|
|
@@ -3198,7 +3196,7 @@ var Gantt = function Gantt(_ref) {
|
|
|
3198
3196
|
|
|
3199
3197
|
setBarTasks(convertToBarTasks(filteredTasks, newDates, columnWidth, rowHeight, taskHeight, barCornerRadius, handleWidth, rtl, barProgressColor, barProgressSelectedColor, barBackgroundColor, barBackgroundSelectedColor, projectProgressColor, projectProgressSelectedColor, projectBackgroundColor, projectBackgroundSelectedColor, milestoneBackgroundColor, milestoneBackgroundSelectedColor));
|
|
3200
3198
|
}, delayToRender);
|
|
3201
|
-
}, [tasks, viewMode, preStepsCount, rowHeight, barCornerRadius, columnWidth, taskHeight, handleWidth, barProgressColor, barProgressSelectedColor, barBackgroundColor, barBackgroundSelectedColor, projectProgressColor, projectProgressSelectedColor, projectBackgroundColor, projectBackgroundSelectedColor, milestoneBackgroundColor, milestoneBackgroundSelectedColor, rtl, onExpanderClick]);
|
|
3199
|
+
}, [tasks, viewMode, preStepsCount, rowHeight, barCornerRadius, columnWidth, taskHeight, handleWidth, barProgressColor, barProgressSelectedColor, barBackgroundColor, barBackgroundSelectedColor, projectProgressColor, projectProgressSelectedColor, projectBackgroundColor, projectBackgroundSelectedColor, milestoneBackgroundColor, milestoneBackgroundSelectedColor, rtl, scrollX, onExpanderClick]);
|
|
3202
3200
|
React.useEffect(function () {
|
|
3203
3201
|
return function () {
|
|
3204
3202
|
clearTimeout(debounceRef.current);
|