From b1de054d445ab6d4c8f171ced824d9355de3e4d6 Mon Sep 17 00:00:00 2001 From: martina Date: Mon, 29 Aug 2022 10:51:57 +0200 Subject: [PATCH] changing chevron placement --- src/feature-viewer.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/feature-viewer.ts b/src/feature-viewer.ts index ed0fbef..af1eaec 100644 --- a/src/feature-viewer.ts +++ b/src/feature-viewer.ts @@ -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;