JAL-2385 more tests/bug fixes mostly for gui.SliderPanel and some
[jalview.git] / src / jalview / gui / SeqPanel.java
index 07dad72..6214a7c 100644 (file)
@@ -1656,13 +1656,13 @@ public class SeqPanel extends JPanel implements MouseListener,
       if (av.getConservationSelected())
       {
         SliderPanel.setConservationSlider(ap, av.getViewportColourScheme(),
-                "Background");
+                ap.getViewName());
       }
 
       if (av.getAbovePIDThreshold())
       {
         SliderPanel.setPIDSliderSource(ap, av.getViewportColourScheme(),
-                "Background");
+                ap.getViewName());
       }
       if ((stretchGroup != null) && (stretchGroup.getEndRes() == res))
       {