From c880b72fa6a0d3b805c2f62335d7174e18c84cf4 Mon Sep 17 00:00:00 2001 From: Safwan Samsudeen Date: Thu, 4 Apr 2024 17:06:22 +0530 Subject: [PATCH] fix: bar not resizable if <1 unit --- src/bar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bar.js b/src/bar.js index 5d38a86..790fd2c 100644 --- a/src/bar.js +++ b/src/bar.js @@ -262,7 +262,7 @@ export default class Bar { } this.update_attr(bar, 'x', x); } - if (width && width >= this.gantt.options.column_width) { + if (width) { this.update_attr(bar, 'width', width); } this.update_label_position();