From 94bc21544b9573fdf177c500bdb981e8076a7e7d Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 7 Apr 2006 10:05:51 +0000 Subject: [PATCH] +1 error in group edit all sequences --- src/jalview/appletgui/SeqPanel.java | 2 +- src/jalview/gui/SeqPanel.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/appletgui/SeqPanel.java b/src/jalview/appletgui/SeqPanel.java index 021a5dc..55bc65a 100755 --- a/src/jalview/appletgui/SeqPanel.java +++ b/src/jalview/appletgui/SeqPanel.java @@ -694,7 +694,7 @@ public class SeqPanel { //We can still insert gaps if the selectionGroup //contains all the sequences - sg.setEndRes(sg.getEndRes()+1+startres-lastres); + sg.setEndRes(sg.getEndRes()+startres-lastres); fixedRight = av.alignment.getWidth()+startres-lastres; } else diff --git a/src/jalview/gui/SeqPanel.java b/src/jalview/gui/SeqPanel.java index 536d178..9b2f5f4 100755 --- a/src/jalview/gui/SeqPanel.java +++ b/src/jalview/gui/SeqPanel.java @@ -779,7 +779,7 @@ public class SeqPanel extends JPanel implements MouseListener, { //We can still insert gaps if the selectionGroup //contains all the sequences - sg.setEndRes(sg.getEndRes()+1+startres-lastres); + sg.setEndRes(sg.getEndRes()+startres-lastres); fixedRight = av.alignment.getWidth()+startres-lastres; } else -- 1.7.10.2