dont set seqPanel paint flag
authoramwaterhouse <Andrew Waterhouse>
Tue, 8 Mar 2005 14:35:26 +0000 (14:35 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 8 Mar 2005 14:35:26 +0000 (14:35 +0000)
src/jalview/gui/AlignmentPanel.java

index 96f4d4a..9ee577a 100755 (executable)
@@ -250,14 +250,6 @@ public class AlignmentPanel extends GAlignmentPanel implements AdjustmentListene
       if (av.getWrapAlignment())\r
       {\r
         av.setStartRes( vscroll.getValue() * av.getChunkWidth());\r
-        // System.out.println(vscroll.getValue()+" "+ av.getChunkWidth());\r
-      //  int resSpan = av.alignment.getWidth()/ (seqPanel.seqCanvas.getWidth()/av.charWidth)+1;\r
-     //   int h  = (av.alignment.getHeight() + 2)*av.charHeight;\r
-      //  vextent = seqPanel.seqCanvas.getHeight()/h;\r
-     //   vscroll.setValues(0,vextent,0,max);\r
-\r
-\r
-      // av.setStartSeq(  );\r
       }\r
       else\r
       {\r
@@ -270,7 +262,6 @@ public class AlignmentPanel extends GAlignmentPanel implements AdjustmentListene
     if(overviewPanel!=null)\r
       overviewPanel.setBoxPosition();\r
 \r
-    seqPanel.seqCanvas.paintFlag=true;\r
     repaint();\r
   }\r
 \r