fix: cut off starts

This commit is contained in:
Safwan Samsudeen 2024-04-04 17:39:33 +05:30
parent 0cc5a3cbf6
commit 7670d13634

View File

@ -588,9 +588,9 @@ export default class Gantt {
}; };
const x_pos = { const x_pos = {
'Quarter Day_lower': 0, 'Quarter Day_lower': this.options.column_width / 2,
'Quarter Day_upper': this.options.column_width * 2, 'Quarter Day_upper': this.options.column_width * 2,
'Half Day_lower': 0, 'Half Day_lower': this.options.column_width / 2,
'Half Day_upper': this.options.column_width, 'Half Day_upper': this.options.column_width,
Day_lower: this.options.column_width / 2, Day_lower: this.options.column_width / 2,
Day_upper: (this.options.column_width * 30) / 2, Day_upper: (this.options.column_width * 30) / 2,