From e74b22a8fe7beaaa54bb46c452cbb57766e90bbd Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 23 Mar 2005 16:28:12 +0000 Subject: [PATCH] new seq selection -1 --- src/jalview/gui/IdPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.7.10.2