1da73beaaf2e06a18feeb0b15f5f3786a66fb60b kent Fri Jul 8 14:07:23 2022 -0700 Making little purple and green ticks at end of RNA alignments smaller like they were before. diff --git src/hg/hgTracks/cds.c src/hg/hgTracks/cds.c index 87adc71..46b33cd 100644 --- src/hg/hgTracks/cds.c +++ src/hg/hgTracks/cds.c @@ -397,31 +397,31 @@ * The line is 0 bases wide (chromStart==chromEnd) but that doesn't * matter if we're zoomed out to >1base/pixel, so this is OK for diffs * when zoomed way out and for insertion points at any scale. */ { int thisX = round((double)(chromStart-winStart)*scale) + xOff; int thisY = y; height -= 1; int thisHeight = height; if ((chromStart < lf->tallStart) || (chromStart > lf->tallEnd)) { /* adjust for UTR. WARNING: this duplicates shortOff & shortHeight * calculations in linkedFeaturesDrawAt */ thisY += height/4; thisHeight = height - height/2; } -hvGfxBox(hvg, thisX-2, thisY, 4, thisHeight, color); +hvGfxBox(hvg, thisX-1, thisY, 2, thisHeight, color); } static void drawMidNumber(struct linkedFeatures *lf, struct hvGfx *hvg, int chromStart, int xOff, int y, int height, double scale, Color color, MgFont *font, int size) /* Draw a short string encoding size around chromStart */ /* Draw a 1-pixel wide vertical line at the given chromosomal coord. * The line is 0 bases wide (chromStart==chromEnd) but that doesn't * matter if we're zoomed out to >1base/pixel, so this is OK for diffs * when zoomed way out and for insertion points at any scale. */ { char sizeString[32]; safef(sizeString, sizeof(sizeString), "%d", size); drawScaledBoxLabel(hvg, chromStart-1, chromStart+1, scale, xOff, y, height, color, font, sizeString);