29350302a2a43cdb727dbb38d760c2e0465b1228
chmalee
  Mon Aug 24 15:07:57 2020 -0700
Tighten up the spacing for unphased trios after Jim feedback

diff --git src/hg/hgTracks/vcfTrack.c src/hg/hgTracks/vcfTrack.c
index 7ad70b3..6488e4f 100644
--- src/hg/hgTracks/vcfTrack.c
+++ src/hg/hgTracks/vcfTrack.c
@@ -2848,31 +2848,31 @@
 // when doing composite track height, vcfPhasedLoadItems won't have been called yet!
 if (vis == tvDense)
     return pgSnpHeight(tg, vis);
 if (!vcff || vcff->records == NULL)
     return 0;
 boolean hideOtherSamples = cartUsualBooleanClosestToHome(cart, tg->tdb, FALSE, VCF_PHASED_HIDE_OTHER_VAR, FALSE);
 int totalSamples = slCount(vcfPhasedGetSampleOrder(cart, tg->tdb, FALSE, hideOtherSamples));
 tg->lineHeight = tl.fontHeight + 1;
 tg->heightPer = tl.fontHeight;
 // if all variants in view are phased, then 3 lines per sample,
 // else 4 lines. The extra 2 is for clear separation
 int heightPerSample;
 if (vcff->allPhased)
     heightPerSample = (3 * tg->lineHeight) + 2;
 else
-    heightPerSample = (4 * tg->lineHeight) + 2;
+    heightPerSample = (4 * tg->lineHeight);
 tg->height = totalSamples * heightPerSample;
 tg->itemHeight = vcfPhasedItemHeight;
 // custom int is reserved for doing pgSnp coloring but as far as I can tell is
 // never actually used?
 tg->customInt = totalSamples;
 return tg->height;
 }
 
 void vcfPhasedMethods(struct track *track)
 /* Load items from a VCF of one individuals phased genotypes */
 {
 knetUdcInstall();
 pgSnpMethods(track);
 track->drawItems = vcfPhasedDrawItems;
 // Disinherit next/prev flag and methods since we don't support next/prev: