From: hansonr Date: Tue, 4 Dec 2018 01:18:28 +0000 (-0600) Subject: x,y switch in FeatureIcon X-Git-Tag: Release_2_11_4_0~45^2~18^2~360 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ee6e8272916d66372695723c70ea707b2d5f25a6;p=jalview.git x,y switch in FeatureIcon // g.fillRect(0, e1, width - e1, height); // BH 2018 g.fillRect(e1, 0, width - e1, height); --- 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); } } }