From e71369da3403e325ea7e6508184f019ff1b32e57 Mon Sep 17 00:00:00 2001 From: Safwan Samsudeen Date: Thu, 23 Jan 2025 11:52:59 +0530 Subject: [PATCH] chore: format --- src/bar.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bar.js b/src/bar.js index dd95e1b..4845418 100644 --- a/src/bar.js +++ b/src/bar.js @@ -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; }