Skip to content

Commit

Permalink
tweaking position of attribute bar
Browse files Browse the repository at this point in the history
  • Loading branch information
cnobre committed Dec 5, 2017
1 parent f87ebca commit 41b7139
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/genealogyTree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1901,7 +1901,9 @@ class GenealogyTree {

element.selectAll('.primary')
.attr('x', () => {
return d.sex === Sex.Female ? Config.glyphSize * 2 : Config.glyphSize * 3;
// console.log(this.x.range()[1] - this.xPOS(d) -20)
// return this.x.range()[1] - this.xPOS(d);
return d.sex === Sex.Female ? Config.glyphSize * 2 +8 : Config.glyphSize * 3 +8;
});


Expand Down

0 comments on commit 41b7139

Please sign in to comment.