Skip to content

Commit

Permalink
Reduction contrast of grid lines
Browse files Browse the repository at this point in the history
 change the color of lineColor with #35373B for horizontal grid lines and #2B2E31 for vertical grid lines

Fixes eclipse-cdt-cloud#441

Signed-off-by: Ibrahim Fradj <ibrahim.fradj@ericsson.com>
  • Loading branch information
IbrahimFradj committed Aug 5, 2021
1 parent cb7d812 commit 8eba309
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class TimegraphOutputComponent extends AbstractTreeOutputComponent<Timegr
rowStyleProvider: (row: TimelineChart.TimeGraphRowModel) => ({
backgroundColor: 0x979797,// 0xaaaaff,
backgroundOpacity: row.selected ? 0.1 : 0,
lineColor: 0xdddddd, // hasStates ? 0xdddddd : 0xaa4444, // row.data && row.data.hasStates
lineColor: 0x35373B , // hasStates ? 0xdddddd : 0xaa4444, // row.data && row.data.hasStates
lineThickness: 1, // hasStates ? 1 : 3 // row.data && row.data.hasStates
})
};
Expand Down Expand Up @@ -328,7 +328,7 @@ export class TimegraphOutputComponent extends AbstractTreeOutputComponent<Timegr
}

private getChartContainer() {
const grid = new TimeGraphChartGrid('timeGraphGrid', this.props.style.rowHeight, this.props.style.lineColor);
const grid = new TimeGraphChartGrid('timeGraphGrid', this.props.style.rowHeight, 0x2B2E31);
const selectionRange = new TimeGraphChartSelectionRange('chart-selection-range', { color: this.props.style.cursorColor });
return <ReactTimeGraphContainer
options={
Expand Down

0 comments on commit 8eba309

Please sign in to comment.