visibleWidths++;
}
int viewportWidth = ranges.getViewportWidth();
+ int hgap = charHeight * (av.getScaleAboveWrapped() ? 2 : 1);
if (positions > 0)
{
if (av.getScaleLeftWrapped())
{
- // drawVerticalScale(gg, xpos, xpos + viewportWidth, y, true);
+ drawVerticalScale(gg, xpos, xpos + viewportWidth, y + hgap, true);
}
if (av.getScaleRightWrapped())
{
- // drawVerticalScale(gg, xpos, xpos + viewportWidth, y, false);
+ drawVerticalScale(gg, xpos, xpos + viewportWidth, y + hgap, false);
}
y -= repeatHeight;
if (av.getScaleLeftWrapped())
{
- drawVerticalScale(gg, xpos, xpos + viewportWidth, y, true);
+ drawVerticalScale(gg, xpos, xpos + viewportWidth, y + hgap, true);
}
if (av.getScaleRightWrapped())
{
- drawVerticalScale(gg, xpos, xpos + viewportWidth, y, false);
+ drawVerticalScale(gg, xpos, xpos + viewportWidth, y + hgap, false);
}
y += repeatHeight;