// 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