{\r
if (cs != null)\r
{\r
- resBoxColour = cs.findColour(seq.getSequence(i, i + 1), i);\r
+ resBoxColour = cs.findColour(seq.getCharAt(i), i);\r
}\r
else if(forOverview && !jalview.util.Comparison.isGap(seq.getCharAt(i)))\r
{\r
public void drawSequence(SequenceI seq, SequenceGroup[] sg,\r
int start, int end, int y1)\r
{\r
+ if(seq==null)\r
+ return;\r
+\r
allGroups = sg;\r
\r
drawBoxes(seq, start, end, y1);\r
{\r
if (i < seq.getLength())\r
{\r
- s = seq.getSequence().charAt(i);\r
+ s = seq.getCharAt(i);\r
}\r
\r
charOffset = (av.charWidth - fm.charWidth(s)) / 2;\r