From ab786bf36d2ffe1286c8b7e7802d7b9796b78f5d Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Wed, 7 Feb 2024 14:20:39 +0000 Subject: [PATCH] JAL-4375 This extra clip isn't necessary --- src/jalview/renderer/AnnotationRenderer.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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) { /* -- 1.7.10.2