x,y switch in FeatureIcon
[jalview.git] / src / jalview / gui / FeatureSettings.java
index 6a59e19..76a32bc 100644 (file)
@@ -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);
     }
   }
 }