Skip to content

Commit

Permalink
Merge pull request #74 from maria-ericsson/space
Browse files Browse the repository at this point in the history
add vertical space in-between for states on adjacent rows
  • Loading branch information
bhufmann authored Nov 27, 2020
2 parents 7054195 + c1b0d5d commit 945960c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions timeline-chart/src/components/time-graph-row-element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export class TimeGraphRowElement extends TimeGraphComponent {
) {
super(id, displayObject);
this._height = _style.height || 14;
this._height = _row.height === 0 ? 0 : Math.min(this._height, _row.height - 1);
this._position = {
x: this.range.start,
y: this._row.position.y + ((this.row.height - this._height) / 2)
Expand Down

0 comments on commit 945960c

Please sign in to comment.