fix: bar not resizable if <1 unit

This commit is contained in:
Safwan Samsudeen 2024-04-04 17:06:22 +05:30
parent 05b243f3f6
commit c880b72fa6

View File

@ -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();