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.
}
// state
if (stretchGroup.cs != null)
{
- if (stretchGroup.cs instanceof ClustalxColourScheme)
- {
- ((ClustalxColourScheme) stretchGroup.cs).alignmentChanged(
+ stretchGroup.cs.alignmentChanged(
stretchGroup,av.getHiddenRepSequences());
- }
if (stretchGroup.cs.conservationApplied())
{