From: amwaterhouse Date: Wed, 23 Mar 2005 16:28:12 +0000 (+0000) Subject: new seq selection -1 X-Git-Tag: Release_2_0~513 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e74b22a8fe7beaaa54bb46c452cbb57766e90bbd;p=jalview.git new seq selection -1 --- diff --git a/src/jalview/gui/IdPanel.java b/src/jalview/gui/IdPanel.java index 1889eb6..8903ce3 100755 --- a/src/jalview/gui/IdPanel.java +++ b/src/jalview/gui/IdPanel.java @@ -133,7 +133,7 @@ public class IdPanel extends JPanel implements MouseListener, MouseMotionListene av.setSelectionGroup(new SequenceGroup()); av.getSelectionGroup().setStartRes(0); - av.getSelectionGroup().setEndRes(av.alignment.getWidth()); + av.getSelectionGroup().setEndRes(av.alignment.getWidth()-1); if(e.isShiftDown() && lastid!=-1) selectSeqs(lastid, seq);