From: amwaterhouse Date: Fri, 7 Apr 2006 10:05:51 +0000 (+0000) Subject: +1 error in group edit all sequences X-Git-Tag: Release_2_08~42 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=94bc21544b9573fdf177c500bdb981e8076a7e7d;p=jalview.git +1 error in group edit all sequences --- 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