From ee6e8272916d66372695723c70ea707b2d5f25a6 Mon Sep 17 00:00:00 2001 From: hansonr Date: Mon, 3 Dec 2018 19:18:28 -0600 Subject: [PATCH] x,y switch in FeatureIcon // g.fillRect(0, e1, width - e1, height); // BH 2018 g.fillRect(e1, 0, width - e1, height); --- src/jalview/gui/FeatureSettings.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/FeatureSettings.java b/src/jalview/gui/FeatureSettings.java index 6a59e19..76a32bc 100644 --- a/src/jalview/gui/FeatureSettings.java +++ b/src/jalview/gui/FeatureSettings.java @@ -1146,7 +1146,7 @@ public class FeatureSettings extends JPanel } updateFeatureRenderer(data, false); - repaintTable(); + table.repaint(); } /** @@ -1154,6 +1154,8 @@ public class FeatureSettings extends JPanel */ private void repaintTable() { + if (true) + return; // BH 2018 // Here is a needed intervention // because generally we don't "repaint" @@ -2009,7 +2011,8 @@ class FeatureIcon implements Icon g.fillRect(s1, 0, e1 - s1, height); } g.setColor(gcol.getMaxColour()); - g.fillRect(0, e1, width - e1, height); +// g.fillRect(0, e1, width - e1, height); // BH 2018 + g.fillRect(e1, 0, width - e1, height); } } } -- 1.7.10.2