JAL-3647 release notes for JAL-1842 JAL-3509 JAL-3881, JAL-3884 JAL-3632 JAL-3633...
[jalview.git] / src / jalview / gui / SeqCanvas.java
index b27208a..a9b9d4d 100755 (executable)
@@ -456,7 +456,7 @@ public class SeqCanvas extends JPanel implements ViewportListenerI
 
       if (av.getWrapAlignment())
       {
-        drawWrappedPanel(gg, width, height, ranges.getStartRes());
+        drawWrappedPanel(gg, getWidth(), getHeight(), ranges.getStartRes());
       }
       else
       {