From c43bf66142660933dbe5b62c8d1a9e18eb75e439 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Sat, 4 Jul 2020 13:45:52 +0100 Subject: [PATCH] =?utf8?q?JAL-3638=20don=E2=80=99t=20move=20cursor=20to=20ne?= =?utf8?q?xt=20gap=20after=20moving=20selection=20up=20and=20down=20with=20s?= =?utf8?q?hift+Alt+up/down?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/jalview/gui/AlignFrame.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index 61a6af6..d03b2c7 100644 --- 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: -- 1.7.10.2