jsgantt-improved
Advanced tools
Comparing version 2.6.2 to 2.6.3
@@ -431,6 +431,6 @@ "use strict"; | ||
vTmpTab.style.width = vTaskLeftPx + 'px'; // Ensure that the headings has exactly the same width as the chart grid | ||
var vTaskPlanLeftPx = (vNumCols * (vColWidth + 3)) + 1; | ||
// const vTaskPlanLeftPx = (vNumCols * (vColWidth + 3)) + 1; | ||
var vSingleCell = false; | ||
console.log((vNumCols * vNumRows), this.vUseSingleCell, vNumCols, vNumRows); | ||
// if (this.vUseSingleCell !== 0 && this.vUseSingleCell < (vNumCols * vNumRows)) vSingleCell = true; | ||
if (this.vUseSingleCell !== 0 && this.vUseSingleCell < (vNumCols * vNumRows)) | ||
vSingleCell = true; | ||
draw_utils_1.newNode(vTmpDiv, 'div', null, 'rhscrpad', null, null, vTaskLeftPx + 1); | ||
@@ -490,3 +490,2 @@ vTmpDiv = draw_utils_1.newNode(vRightHeader, 'div', null, 'glabelfooter'); | ||
events_1.addThisRowListeners(this, this.vTaskList[i].getListChildRow(), vTmpRow); | ||
// console.log('T ----->', vNumCols) | ||
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, 'gtaskcell gtaskcellmile', null, vColWidth, null, null, null); | ||
@@ -506,3 +505,2 @@ vTmpDiv_1 = draw_utils_1.newNode(vTmpCell, 'div', null, 'gtaskcelldiv', '\u00A0\u00A0'); | ||
vCaptClass = 'gmilecaption'; | ||
console.log(vSingleCell, vComb); | ||
if (!vSingleCell && !vComb) { | ||
@@ -522,3 +520,2 @@ this.drawColsChart(vNumCols, vTmpRow, taskCellWidth); | ||
events_1.addThisRowListeners(this, this.vTaskList[i].getListChildRow(), vTmpRow); | ||
// console.log('F ----->', vNumCols) | ||
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, 'gtaskcell gtaskcellbar', null, vColWidth, null, null); | ||
@@ -556,3 +553,2 @@ vTmpDiv_1 = draw_utils_1.newNode(vTmpCell, 'div', null, 'gtaskcelldiv', '\u00A0\u00A0'); | ||
events_1.addThisRowListeners(this, this.vTaskList[i].getListChildRow(), vTmpRow); | ||
// console.log('F ----->', vNumCols) | ||
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, 'gtaskcell gtaskcellcolorbar', null, taskCellWidth, null, null); | ||
@@ -559,0 +555,0 @@ vTmpDivCell = vTmpDiv_1 = draw_utils_1.newNode(vTmpCell, 'div', null, 'gtaskcelldiv', '\u00A0\u00A0'); |
@@ -15,3 +15,3 @@ "use strict"; | ||
vDate.setTime(pList[i].getStart().getTime()); | ||
else if (pList[i].getPlanStart() && pList[i].getPlanStart().getTime() < vDate.getTime()) | ||
if (pList[i].getPlanStart() && pList[i].getPlanStart().getTime() < vDate.getTime()) | ||
vDate.setTime(pList[i].getPlanStart().getTime()); | ||
@@ -66,3 +66,3 @@ } | ||
vDate.setTime(pList[i].getEnd().getTime()); | ||
else if (pList[i].getPlanEnd() && pList[i].getPlanEnd().getTime() > vDate.getTime()) | ||
if (pList[i].getPlanEnd() && pList[i].getPlanEnd().getTime() > vDate.getTime()) | ||
vDate.setTime(pList[i].getPlanEnd().getTime()); | ||
@@ -69,0 +69,0 @@ } |
{ | ||
"name": "jsgantt-improved", | ||
"version": "2.6.2", | ||
"version": "2.6.3", | ||
"description": "jsgantt-improved", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4808067
113121