fix wrap alignment vscroll visible amount
authoramwaterhouse <Andrew Waterhouse>
Sat, 16 Apr 2005 15:37:07 +0000 (15:37 +0000)
committeramwaterhouse <Andrew Waterhouse>
Sat, 16 Apr 2005 15:37:07 +0000 (15:37 +0000)
src/jalview/gui/AlignmentPanel.java

index 98eb180..9b57ae1 100755 (executable)
@@ -367,6 +367,7 @@ public class AlignmentPanel extends GAlignmentPanel implements AdjustmentListene
       int max = av.alignment.getWidth() / seqPanel.seqCanvas.getWrappedCanvasWidth(seqPanel.seqCanvas.getWidth());\r
       vscroll.setMaximum(max);\r
       vscroll.setUnitIncrement(1);\r
+      vscroll.setVisibleAmount(1);\r
     }\r
     else\r
     {\r