JAL-2611 reinstate missed merge - again!
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 1 Aug 2017 10:08:34 +0000 (12:08 +0200)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 1 Aug 2017 10:08:34 +0000 (12:08 +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