/*\r
* Jalview - A Sequence Alignment Editor and Viewer\r
- * Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
+ * Copyright (C) 2006 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
*\r
* This program is free software; you can redistribute it and/or\r
* modify it under the terms of the GNU General Public License\r
\r
\r
int cwidth = seqCanvas.getWrappedCanvasWidth(this.getWidth());\r
+ if(cwidth<1)\r
+ return 0;\r
\r
wrappedBlock = y / cHeight;\r
wrappedBlock += av.getStartRes() / cwidth;\r
changeEndRes = false;\r
changeStartRes = false;\r
stretchGroup = null;\r
- PaintRefresher.Refresh(av.alignment);\r
+\r
+ PaintRefresher.Refresh(this, av.getSequenceSetId());\r
}\r
\r
/**\r