JAL-1130 more robust loading code and different logos for desktop icon and splashscre...
[jalview.git] / src / jalview / gui / SeqPanel.java
index 648c3a2..8d81f8c 100644 (file)
@@ -1375,11 +1375,22 @@ public class SeqPanel extends JPanel implements MouseListener,
     e.consume();
     if (e.getWheelRotation() > 0)
     {
-      ap.scrollUp(false);
+      if (e.isShiftDown())
+      {
+        ap.scrollRight(true);
+        
+      } else {
+        ap.scrollUp(false);
+      }
     }
     else
     {
-      ap.scrollUp(true);
+      if (e.isShiftDown())
+      {
+        ap.scrollRight(false);
+      } else {
+        ap.scrollUp(true);
+      }
     }
     // TODO Update tooltip for new position.
   }
@@ -1546,11 +1557,8 @@ public class SeqPanel extends JPanel implements MouseListener,
                                        // state
     if (stretchGroup.cs != null)
     {
-      if (stretchGroup.cs instanceof ClustalxColourScheme)
-      {
-        ((ClustalxColourScheme) stretchGroup.cs).alignmentChanged(
+      stretchGroup.cs.alignmentChanged(
                 stretchGroup,av.getHiddenRepSequences());
-      }
 
       if (stretchGroup.cs.conservationApplied())
       {