{ ypos - (avcharHeight / 2), ypos - (avcharHeight / 2), ypos - (avcharHeight / 2) + 8 }, 3);
}
}
-
+ // BH 2020.03.19 avoiding g.setClip at all costs
+ g = g.create();
if (g.getClip() == null)
{
- g.setClip(0, 0, cWidth * avcharWidth, canvasHeight);
+ g.clipRect(0, 0, cWidth * avcharWidth, canvasHeight);
}
drawPanel(g, startRes, endx, 0, al.getHeight() - 1, ypos);
- g.setClip(null);
+ // g.setClip(null);
+ g.dispose();
if (av.isShowAnnotation())
{
g.translate(0, cHeight + ypos + 4);