Skip to content

Commit

Permalink
changing chevron placement
Browse files Browse the repository at this point in the history
  • Loading branch information
mb925 committed Aug 29, 2022
1 parent 53926de commit b1de054
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/feature-viewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,10 @@ class FeatureViewer {
.attr("transform", (d) => {
let x = 0;
// horizontal flag placement
this.commons.headMargin = 20;
this.commons.headMargin = 0;//20
if (d.flagLevel) {
this.commons.headMargin = 20 * (d.flagLevel - 1);
x = this.commons.headMargin + 5;
this.commons.headMargin = 0 * (d.flagLevel - 1);//20*
// x = this.commons.headMargin + 5;// uncommented
}
// vertical flag placement
let y = d.y;
Expand Down

0 comments on commit b1de054

Please sign in to comment.