Skip to content

Commit

Permalink
Propagate vertical alignment style.
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
  • Loading branch information
MatthewKhouzam committed Mar 8, 2021
1 parent 3291923 commit 1bd75bc
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -415,10 +415,15 @@ export class TimegraphOutputComponent extends AbstractTreeOutputComponent<Timegr
if (currentStyle['height']) {
symbolSize = currentStyle['height'] * symbolSize;
}
let vAlign = 'center';
if (currentStyle['vertical-align']) {
vAlign = currentStyle['vertical-align'];
}
return {
symbol: currentStyle['symbol-type'],
size: symbolSize,
color: color
color: color,
verticalAlign: vAlign
};
}
}
Expand Down

0 comments on commit 1bd75bc

Please sign in to comment.