JAL-3253 JAL-3260 SwingJS-3.2.9.v1e and tests
[jalview.git] / src / jalview / gui / AlignmentPanel.java
index c43e0b6..1c2e91c 100644 (file)
@@ -179,9 +179,6 @@ public class AlignmentPanel extends GAlignmentPanel implements
 
           ranges.setViewportWidth(widthInRes);
           ranges.setViewportHeight(heightInSeq);
-          ViewportRanges.sTest += "AP.resize chht=" + av.getCharHeight()
-                  + "canvHt=" + getSeqPanel().seqCanvas.getHeight() + " "
-                  + heightInSeq + "\n";
         }
       }
 
@@ -747,7 +744,6 @@ public class AlignmentPanel extends GAlignmentPanel implements
       int y = vscroll.getValue();
       int height = getSeqPanel().seqCanvas.getHeight() / av.getCharHeight();
 
-
       // if we're scrolling to the position we're already at, stop
       // this prevents infinite recursion of events when the scroll/viewport
       // ranges values are the same
@@ -755,11 +751,6 @@ public class AlignmentPanel extends GAlignmentPanel implements
       {
         return;
       }
-
-      ViewportRanges.sTest += "AP.valChanged chht=" + av.getCharHeight()
-              + "canvHt=" + getSeqPanel().seqCanvas.getHeight() + " "
-              + height + "\n";
-
       ranges.setViewportStartAndHeight(y, height);
     }
     repaint();