int LABEL_WEST;\r
int LABEL_EAST;\r
\r
- boolean isOverview = false;\r
-\r
/**\r
* Creates a new SeqCanvas object.\r
*\r
// Set this to false to force a full panel paint\r
public void paintComponent(Graphics g)\r
{\r
+ super.paintComponent(g);\r
+\r
sr.renderGaps(av.renderGaps);\r
\r
- if ((img != null) &&\r
- (fastPaint && getVisibleRect() != g.getClipBounds()))\r
+ if ( img != null && (fastPaint\r
+ || (getVisibleRect().width != g.getClipBounds().width)\r
+ || (getVisibleRect().height != g.getClipBounds().height)))\r
{\r
g.drawImage(img, 0, 0, this);\r
fastPaint = false;\r
}\r
\r
\r
-\r
-\r
// this draws the whole of the alignment\r
imgWidth = getWidth();\r
imgHeight = getHeight();\r
\r
if (pdbCanvas != null)\r
{\r
- pdbCanvas.updateSeqColours();\r
+ pdbCanvas.updateSeqColours();\r
}\r
\r
}\r
groupIndex = 0;\r
}\r
\r
- if (group != null && !isOverview)\r
+ if (group != null)\r
{\r
do\r
{\r