From: James Procter Date: Mon, 4 Sep 2023 11:55:19 +0000 (+0100) Subject: JAL-4250 fix location and height for RNA secondary structure stem arrows X-Git-Tag: Release_2_11_3_0~3^2~11^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=35fc4fb5b48e97eab1ee8758ae6f3fcc2322fd90;p=jalview.git JAL-4250 fix location and height for RNA secondary structure stem arrows --- diff --git a/src/jalview/renderer/AnnotationRenderer.java b/src/jalview/renderer/AnnotationRenderer.java index 24fbb26..3f0c9fa 100644 --- a/src/jalview/renderer/AnnotationRenderer.java +++ b/src/jalview/renderer/AnnotationRenderer.java @@ -202,7 +202,7 @@ public class AnnotationRenderer */ fillPolygon(g, new int[] { lastSSX + 5, lastSSX + 5, lastSSX }, new int[] - { y + iconOffset, y + 14 + iconOffset, y + 8 + iconOffset }, + { y + iconOffset, y + 13 + iconOffset, y + 7 + iconOffset }, 3); x1 += 5; } @@ -222,7 +222,7 @@ public class AnnotationRenderer */ fillPolygon(g, new int[] { x2 - 5, x2 - 5, x2 }, new int[] - { y + iconOffset, y + 14 + iconOffset, y + 8 + iconOffset }, + { y + iconOffset, y + 13 + iconOffset, y + 7 + iconOffset }, 3); x2 -= 5; } @@ -232,7 +232,7 @@ public class AnnotationRenderer } } // draw arrow body - fillRect(g, x1, y + 4 + iconOffset, x2 - x1, 7); + fillRect(g, x1, y + 4 + iconOffset, x2 - x1, 6); } void drawNotCanonicalAnnot(Graphics g, Color nonCanColor,