Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d3d0e82077 | ||
|
|
dbf75cbd1c | ||
|
|
ed89651814 | ||
|
|
1d78ec1be9 |
@ -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