From 35fc4fb5b48e97eab1ee8758ae6f3fcc2322fd90 Mon Sep 17 00:00:00 2001 From: James Procter Date: Mon, 4 Sep 2023 12:55:19 +0100 Subject: [PATCH] JAL-4250 fix location and height for RNA secondary structure stem arrows --- src/jalview/renderer/AnnotationRenderer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, -- 1.7.10.2