From: kiramt Date: Tue, 14 Nov 2017 14:10:30 +0000 (+0000) Subject: JAL-2811 Missed commit X-Git-Tag: Release_2_10_3b1~28^2~2^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d5cb0190f46cbbf4cfd6f0f20cfe562cda005984;p=jalview.git JAL-2811 Missed commit --- diff --git a/src/jalview/gui/SeqCanvas.java b/src/jalview/gui/SeqCanvas.java index 4aa7851..fdd51c2 100755 --- 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)