From 31a5f9724e7ba5c8f67a6db9a0c0f2356cd81b9d Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Mon, 18 Apr 2005 16:03:24 +0000 Subject: [PATCH] setendres -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 a4b80f0..3444881 100755 --- a/src/jalview/gui/IdPanel.java +++ b/src/jalview/gui/IdPanel.java @@ -121,7 +121,7 @@ public class IdPanel extends JPanel implements MouseListener, MouseMotionListene SequenceGroup selection = new SequenceGroup(); SequenceGroup sg = av.alignment.findGroup(av.alignment.getSequenceAt(seq)); selection.setStartRes(0); - selection.setEndRes(av.alignment.getWidth()); + selection.setEndRes(av.alignment.getWidth()-1); for (int i =0; i< sg.getSize(); i++) selection.addSequence(sg.getSequenceAt(i)); -- 1.7.10.2