Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/components/timeline/TimelineBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ export default function TimelineBar({
}: ITimelineBarProps) {
const status = TIMELINE_PERFORMANCE_STATUS_STYLE[bar.performanceStatus];
const left = (bar.colStart - 1) * colWidth;
const width = (bar.colEnd - bar.colStart) * colWidth;
const columnSpan = Math.max(bar.colEnd - bar.colStart, 1);
const width = columnSpan * colWidth;
const top =
rowOffset +
(bar.row - 1) * rowHeight +
Expand Down
Loading