new seq selection -1
authoramwaterhouse <Andrew Waterhouse>
Wed, 23 Mar 2005 16:28:12 +0000 (16:28 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 23 Mar 2005 16:28:12 +0000 (16:28 +0000)
src/jalview/gui/IdPanel.java

index 1889eb6..8903ce3 100755 (executable)
@@ -133,7 +133,7 @@ public class IdPanel extends JPanel implements MouseListener, MouseMotionListene
       av.setSelectionGroup(new SequenceGroup());\r
 \r
     av.getSelectionGroup().setStartRes(0);\r
-    av.getSelectionGroup().setEndRes(av.alignment.getWidth());\r
+    av.getSelectionGroup().setEndRes(av.alignment.getWidth()-1);\r
 \r
     if(e.isShiftDown() && lastid!=-1)\r
       selectSeqs(lastid, seq);\r