From: amwaterhouse Date: Tue, 8 Mar 2005 14:35:26 +0000 (+0000) Subject: dont set seqPanel paint flag X-Git-Tag: Release_2_0~625 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=c87b480e692410c150592b48beb8b1e234450717;p=jalview.git dont set seqPanel paint flag --- diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index 96f4d4a..9ee577a 100755 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -250,14 +250,6 @@ public class AlignmentPanel extends GAlignmentPanel implements AdjustmentListene if (av.getWrapAlignment()) { av.setStartRes( vscroll.getValue() * av.getChunkWidth()); - // System.out.println(vscroll.getValue()+" "+ av.getChunkWidth()); - // int resSpan = av.alignment.getWidth()/ (seqPanel.seqCanvas.getWidth()/av.charWidth)+1; - // int h = (av.alignment.getHeight() + 2)*av.charHeight; - // vextent = seqPanel.seqCanvas.getHeight()/h; - // vscroll.setValues(0,vextent,0,max); - - - // av.setStartSeq( ); } else { @@ -270,7 +262,6 @@ public class AlignmentPanel extends GAlignmentPanel implements AdjustmentListene if(overviewPanel!=null) overviewPanel.setBoxPosition(); - seqPanel.seqCanvas.paintFlag=true; repaint(); }