@visactor/vtable-plugins 1.19.6 → 1.19.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.
package/dist/vtable-plugins.js
CHANGED
|
@@ -18868,6 +18868,12 @@
|
|
|
18868
18868
|
}), this.group.appendChild(this.markLIneContainer), this.initMarkLines();
|
|
18869
18869
|
}
|
|
18870
18870
|
initMarkLines() {
|
|
18871
|
+
const height = Math.min(this._scene._gantt.tableNoFrameHeight, this._scene._gantt.drawHeight) - this._scene._gantt.getAllHeaderRowsHeight();
|
|
18872
|
+
this.group.setAttributes({
|
|
18873
|
+
y: this._scene._gantt.getAllHeaderRowsHeight(),
|
|
18874
|
+
width: this._scene._gantt.tableNoFrameWidth,
|
|
18875
|
+
height: height
|
|
18876
|
+
}), this.markLIneContainer.setAttribute("width", this._scene._gantt.getAllDateColsWidth()), this.markLIneContainer.setAttribute("height", height);
|
|
18871
18877
|
const markLine = this._scene._gantt.parsedOptions.markLine,
|
|
18872
18878
|
minDate = this._scene._gantt.parsedOptions.minDate;
|
|
18873
18879
|
minDate && markLine.forEach(line => {
|