From e9a1285c3e0df3505d85121d84c2d33d899820f2 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Sun, 12 Apr 2020 15:43:21 +0100 Subject: [PATCH] JAL-3596 change redacted --- src/jalview/renderer/seqfeatures/FeatureRenderer.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/jalview/renderer/seqfeatures/FeatureRenderer.java b/src/jalview/renderer/seqfeatures/FeatureRenderer.java index 7a92a88..2186d4a 100644 --- a/src/jalview/renderer/seqfeatures/FeatureRenderer.java +++ b/src/jalview/renderer/seqfeatures/FeatureRenderer.java @@ -112,13 +112,14 @@ public class FeatureRenderer extends FeatureRendererModel continue; } - if (av.getShowText()) - { - g.setColor(Color.white); - int charOffset = (charWidth - fm.charWidth(s)) / 2; - g.drawString(String.valueOf(s), - charOffset + (charWidth * (i - start)), pady); - } + /* + * JAL-3045 text is always drawn over features, even if + * 'Show Text' is unchecked in the format menu + */ + g.setColor(Color.white); + int charOffset = (charWidth - fm.charWidth(s)) / 2; + g.drawString(String.valueOf(s), + charOffset + (charWidth * (i - start)), pady); } return true; } -- 1.7.10.2