From: Ben Soares Date: Wed, 7 Feb 2024 14:20:39 +0000 (+0000) Subject: JAL-4375 This extra clip isn't necessary X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ab786bf36d2ffe1286c8b7e7802d7b9796b78f5d;p=jalview.git JAL-4375 This extra clip isn't necessary --- diff --git a/src/jalview/renderer/AnnotationRenderer.java b/src/jalview/renderer/AnnotationRenderer.java index 734e33c..0da5603 100644 --- a/src/jalview/renderer/AnnotationRenderer.java +++ b/src/jalview/renderer/AnnotationRenderer.java @@ -683,6 +683,7 @@ public class AnnotationRenderer // flag used for vector rendition this.glyphLineDrawn = false; x = (startRes == 0) ? 0 : -1; + while (x < endRes - startRes) { if (hasHiddenColumns) @@ -785,11 +786,6 @@ public class AnnotationRenderer * translate to drawing position _before_ applying any scaling */ g2dCopy.translate(xPos, yPos); - // narrow the clipping rectangle to the size of a character square - // or the character width - g2dCopy.clipRect(0, 0 - charHeight, - (int) Math.ceil(Math.max(charWidth, fmWidth)), - charHeight); if (scaledToFit) { /*