chore: format
This commit is contained in:
parent
b617dfffbe
commit
e71369da34
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user