JAL-2443 push getResidueBoxColour inside getResidueColour
[jalview.git] / src / jalview / appletgui / OverviewPanel.java
index 8427c77..251e1c8 100755 (executable)
@@ -352,16 +352,11 @@ public class OverviewPanel extends Panel implements Runnable,
 
         if (seq.getLength() > lastcol)
         {
-          color = sr.getResidueBoxColour(seq, lastcol);
-
-          if (av.isShowSequenceFeatures())
-          {
-            color = finder.findFeatureColour(color, seq, lastcol);
-          }
+          color = sr.getResidueColour(seq, lastcol, finder);
         }
         else
         {
-          color = Color.white; // White
+          color = Color.white;
         }
 
         if (hiddenRow