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:
5bbc4e9
)
JAL-3638 don’t move cursor to next gap after moving selection up and down with shift...
author
Jim Procter
<jprocter@issues.jalview.org>
Sat, 4 Jul 2020 12:45:52 +0000
(13:45 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Sat, 4 Jul 2020 13:22:12 +0000
(14:22 +0100)
src/jalview/gui/AlignFrame.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AlignFrame.java
b/src/jalview/gui/AlignFrame.java
index
61a6af6
..
d03b2c7
100644
(file)
--- a/
src/jalview/gui/AlignFrame.java
+++ b/
src/jalview/gui/AlignFrame.java
@@
-536,7
+536,8
@@
public class AlignFrame extends GAlignFrame implements DropTargetListener,
}
if (viewport.cursorMode)
{
- alignPanel.getSeqPanel().moveCursor(0, 1, evt.isShiftDown());
+ alignPanel.getSeqPanel().moveCursor(0, 1,
+ evt.isShiftDown() && !evt.isAltDown());
}
break;
@@
-547,9
+548,9
@@
public class AlignFrame extends GAlignFrame implements DropTargetListener,
}
if (viewport.cursorMode)
{
- alignPanel.getSeqPanel().moveCursor(0, -1,evt.isShiftDown());
+ alignPanel.getSeqPanel().moveCursor(0, -1,
+ evt.isShiftDown() && !evt.isAltDown());
}
-
break;
case KeyEvent.VK_LEFT: