--- /home/olson/jbrowse/jbrowse/js/FeatureTrack.js 2010-03-15 13:51:48.596400010 -0500 +++ FeatureTrack.js 2010-03-18 14:43:10.927831215 -0500 @@ -390,13 +390,16 @@ switch (feature[strand]) { case 1: ah.className = "plus-" + curTrack.arrowheadClass; - ah.style.cssText = "left: 100%; top: 0px;"; + // ah.style.cssText = "left: 100%; top: 0px;"; + var pct = Math.round(100.5 - 100 * (curTrack.plusArrowWidth) / (scale * (feature[end] - feature[start]))); + ah.style.cssText = "left: " + pct + "%; top: 0px;"; featDiv.appendChild(ah); break; case -1: ah.className = "minus-" + curTrack.arrowheadClass; - ah.style.cssText = "left: " + (-curTrack.minusArrowWidth) - + "px; top: 0px;"; + //ah.style.cssText = "left: " + (-curTrack.minusArrowWidth) + // + "px; top: 0px;"; + ah.style.cssText = "left: 0px; top: 0px;"; featDiv.appendChild(ah); break; }