Skip to content

Commit

Permalink
make default sequence numbers a little smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
Bland, Paul authored and Bland, Paul committed Aug 23, 2018
1 parent 8035572 commit 0fdddfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/diagrams/sequence/sequenceRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,10 @@ const drawMessage = function (elem, startx, stopx, verticalPos, msg, sequenceInd
if (conf.showSequenceNumbers) {
line.attr('marker-start', 'url(' + url + '#sequencenumber)')
g.append('text')
.attr('x', startx - 1)
.attr('y', verticalPos + 5)
.attr('x', startx)
.attr('y', verticalPos + 4)
.attr('font-family', 'sans-serif')
.attr('font-size', '16px')
.attr('font-size', '12px')
.attr('text-anchor', 'middle')
.attr('textLength', '16px')
.attr('class', 'sequenceNumber')
Expand Down
2 changes: 1 addition & 1 deletion src/diagrams/sequence/svgDraw.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export const insertSequenceNumber = function (elem) {
.append('circle')
.attr('cx', 15)
.attr('cy', 15)
.attr('r', 7)
.attr('r', 6)
// .style("fill", '#f00');
}
/**
Expand Down

0 comments on commit 0fdddfe

Please sign in to comment.