From: amwaterhouse Date: Sat, 16 Apr 2005 15:38:16 +0000 (+0000) Subject: allow for final line of alignment X-Git-Tag: Release_2_0~398 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=13acf0afbe3eb8098d559fc4a19b598f64e3575f;p=jalview.git allow for final line of alignment --- diff --git a/src/jalview/gui/IdCanvas.java b/src/jalview/gui/IdCanvas.java index b693f98..f1ab981 100755 --- a/src/jalview/gui/IdCanvas.java +++ b/src/jalview/gui/IdCanvas.java @@ -120,7 +120,7 @@ public class IdCanvas extends JPanel int rowSize = av.getEndRes() - av.getStartRes(); // Draw the rest of the panels - for(int ypos=2*av.charHeight, row=av.getEndRes(); + for(int ypos=2*av.charHeight, row=av.getEndRes()-rowSize; ypos <= getHeight() && row