chore: format

This commit is contained in:
Safwan Samsudeen 2025-01-23 11:52:59 +05:30
parent b617dfffbe
commit e71369da34

View File

@ -58,7 +58,8 @@ export default class Bar {
this.compute_duration();
this.corner_radius = this.gantt.options.bar_corner_radius;
this.width = this.gantt.config.column_width * this.duration;
if (!this.task.progress || this.task.progress < 0) this.task.progress = 0;
if (!this.task.progress || this.task.progress < 0)
this.task.progress = 0;
if (this.task.progress > 100) this.task.progress = 100;
}