git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into spike/JAL-4047/JAL-4048_columns_in_sequenceID
[jalview.git]
/
src
/
jalview
/
appletgui
/
SeqCanvas.java
diff --git
a/src/jalview/appletgui/SeqCanvas.java
b/src/jalview/appletgui/SeqCanvas.java
index
3b79f12
..
735046e
100755
(executable)
--- a/
src/jalview/appletgui/SeqCanvas.java
+++ b/
src/jalview/appletgui/SeqCanvas.java
@@
-644,7
+644,9
@@
public class SeqCanvas extends Panel implements ViewportListenerI
if (av.cursorMode && cursorY == i && cursorX >= startRes
&& cursorX <= endRes)
{
if (av.cursorMode && cursorY == i && cursorX >= startRes
&& cursorX <= endRes)
{
- sr.drawCursor(nextSeq, cursorX, (cursorX - startRes) * avcharWidth,
+ char s = nextSeq.getCharAt(cursorX);
+
+ sr.drawCursor(g,s, (cursorX - startRes) * avcharWidth,
offset + ((i - startSeq) * avcharHeight));
}
}
offset + ((i - startSeq) * avcharHeight));
}
}