Skip to content

Commit

Permalink
Bugfix for setting the background color of rows
Browse files Browse the repository at this point in the history
Signed-off-by: Will Yang <william.yang@ericsson.com>
  • Loading branch information
williamsyang-work authored and bhufmann committed Jul 22, 2022
1 parent 8d4920f commit a4abe84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions timeline-chart/src/components/time-graph-row.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export class TimeGraphRow extends TimeGraphComponent<TimelineChart.TimeGraphRowM
set style(style: TimeGraphRowStyle) {
if (style.backgroundColor !== undefined) {
this._options.color = style.backgroundColor;
this._style.backgroundColor = style.backgroundColor;
}
if (style.backgroundOpacity !== undefined) {
this._style.backgroundOpacity = style.backgroundOpacity;
Expand Down

0 comments on commit a4abe84

Please sign in to comment.