added placeholder indicators and menu item
[jalview.git] / src / jalview / appletgui / SeqCanvas.java
index db91d08..e028819 100755 (executable)
@@ -184,12 +184,13 @@ public void fastPaint(int horizontal, int vertical)
     // this draws the whole of the alignment\r
       imgWidth  = this.getSize().width;\r
       imgHeight = this.getSize().height;\r
-      if(imgWidth<1 || imgHeight<1)\r
-        return;\r
 \r
       imgWidth -= imgWidth%av.charWidth;\r
       imgHeight-= imgHeight%av.charHeight;\r
 \r
+      if(imgWidth<1 || imgHeight<1)\r
+              return;\r
+\r
       if(img==null || imgWidth!=img.getWidth(this) || imgHeight!=img.getHeight(this))\r
       {\r
         img = createImage(imgWidth, imgHeight);\r