From c87b480e692410c150592b48beb8b1e234450717 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 8 Mar 2005 14:35:26 +0000 Subject: [PATCH] dont set seqPanel paint flag --- src/jalview/gui/AlignmentPanel.java | 9 --------- 1 file changed, 9 deletions(-) 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(); } -- 1.7.10.2