git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fb1345
)
JAL-2811 Missed commit
author
kiramt
<k.mourao@dundee.ac.uk>
Tue, 14 Nov 2017 14:10:30 +0000
(14:10 +0000)
committer
kiramt
<k.mourao@dundee.ac.uk>
Tue, 14 Nov 2017 14:10:30 +0000
(14:10 +0000)
src/jalview/gui/SeqCanvas.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SeqCanvas.java
b/src/jalview/gui/SeqCanvas.java
index
4aa7851
..
fdd51c2
100755
(executable)
--- a/
src/jalview/gui/SeqCanvas.java
+++ b/
src/jalview/gui/SeqCanvas.java
@@
-1276,8
+1276,8
@@
public class SeqCanvas extends JComponent implements ViewportListenerI
BufferedImage cursorImage = null;
// convert the cursorY into a position on the visible alignment
- int cursor_ypos = av.getAlignment().getHiddenColumns()
- .findColumnPosition(cursorY);
+ int cursor_ypos = av.getAlignment().getHiddenSequences()
+ .findIndexWithoutHiddenSeqs(cursorY);
// don't do work unless we have to
if (av.cursorMode && cursor_ypos >= startSeq && cursor_ypos <= endSeq)