fix: inconsistent time display

This commit is contained in:
Safwan Samsudeen 2024-04-04 17:36:38 +05:30
parent 218818619c
commit 0cc5a3cbf6

View File

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