From 1810df9d010000e434975a8a4e68dcbda238f7f1 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Tue, 1 Aug 2017 12:08:34 +0200 Subject: [PATCH] JAL-2611 reinstate missed merge - again! --- src/jalview/viewmodel/OverviewDimensionsShowHidden.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/jalview/viewmodel/OverviewDimensionsShowHidden.java b/src/jalview/viewmodel/OverviewDimensionsShowHidden.java index 5bd4bba..681d43d 100644 --- a/src/jalview/viewmodel/OverviewDimensionsShowHidden.java +++ b/src/jalview/viewmodel/OverviewDimensionsShowHidden.java @@ -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 -- 1.7.10.2