From: amwaterhouse Date: Tue, 12 Sep 2006 09:19:18 +0000 (+0000) Subject: Allow alt button for Mac applet group editing X-Git-Tag: Release_2_1_1~7 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=c84695a62c56002a8e68528e00d963e38f6eac2a;p=jalview.git Allow alt button for Mac applet group editing --- diff --git a/src/jalview/appletgui/AlignFrame.java b/src/jalview/appletgui/AlignFrame.java index 45dd143..86c079c 100755 --- a/src/jalview/appletgui/AlignFrame.java +++ b/src/jalview/appletgui/AlignFrame.java @@ -260,7 +260,10 @@ public class AlignFrame extends Frame implements ActionListener, case KeyEvent.VK_SPACE: if(viewport.cursorMode) { - alignPanel.seqPanel.insertGapAtCursor(evt.isControlDown()); + alignPanel.seqPanel.insertGapAtCursor(evt.isControlDown() + || evt.isShiftDown() + || evt.isAltDown() + ); } break; @@ -268,7 +271,10 @@ public class AlignFrame extends Frame implements ActionListener, case KeyEvent.VK_BACK_SPACE: if(viewport.cursorMode) { - alignPanel.seqPanel.deleteGapAtCursor(evt.isControlDown()); + alignPanel.seqPanel.deleteGapAtCursor(evt.isControlDown() + || evt.isShiftDown() + || evt.isAltDown() + ); } else {