Set the start res and start seq
authoramwaterhouse <Andrew Waterhouse>
Wed, 9 Aug 2006 15:53:44 +0000 (15:53 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 9 Aug 2006 15:53:44 +0000 (15:53 +0000)
src/jalview/appletgui/AlignmentPanel.java

index 13eb06f..8c93599 100755 (executable)
@@ -347,6 +347,9 @@ public class AlignmentPanel extends Panel implements AdjustmentListener
     if(av.hasHiddenColumns)\r
      width = av.getColumnSelection().findColumnPosition(width);\r
 \r
+    av.setStartRes(x);\r
+    av.setStartSeq(y);\r
+\r
     av.setEndRes( (x + (seqPanel.seqCanvas.getSize().width / av.charWidth)) -1);\r
 \r
     hextent = seqPanel.seqCanvas.getSize().width / av.charWidth;\r