JAL-2611 Missed merge from JAL-147
authorkiramt <k.mourao@dundee.ac.uk>
Thu, 27 Jul 2017 10:34:37 +0000 (12:34 +0200)
committerkiramt <k.mourao@dundee.ac.uk>
Thu, 27 Jul 2017 10:34:37 +0000 (12:34 +0200)
src/jalview/viewmodel/OverviewDimensionsShowHidden.java

index 5bd4bba..681d43d 100644 (file)
@@ -127,6 +127,11 @@ public class OverviewDimensionsShowHidden extends OverviewDimensions
       visYAsSeq = 0;
     }
 
+    if (ranges.isWrappedMode())
+    {
+      visYAsSeq = 0; // sorry, no vertical scroll when wrapped
+    }
+
     // Determine where scrollCol should be, given visXAsRes
 
     // get viewport width in residues