Skip to content

Commit

Permalink
Fix time axis labels change color when resizing the trace tab
Browse files Browse the repository at this point in the history
Fixes #455

Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
  • Loading branch information
bhufmann committed Oct 14, 2021
1 parent 9fd23c5 commit 1190269
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ export class ReactTimeGraphContainer extends React.Component<ReactTimeGraphConta
}

private resize(): void {
if (this.container) { this.container.updateCanvas(this.props.options.width, this.props.options.height); }
if (this.container) {
this.container.updateCanvas(this.props.options.width, this.props.options.height, this.props.options.backgroundColor, this.props.options.lineColor);
}
}
}

0 comments on commit 1190269

Please sign in to comment.