From: amwaterhouse Date: Thu, 17 Aug 2006 10:11:48 +0000 (+0000) Subject: control and shift X-Git-Tag: Release_2_1~46 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=bd80832e4c794b68919768eb53834c967a12f68a;p=jalview.git control and shift --- diff --git a/src/jalview/appletgui/AlignFrame.java b/src/jalview/appletgui/AlignFrame.java index 0c7f5d1..92f968c 100755 --- a/src/jalview/appletgui/AlignFrame.java +++ b/src/jalview/appletgui/AlignFrame.java @@ -332,7 +332,7 @@ public class AlignFrame extends Frame implements ActionListener, case KeyEvent.VK_H: { boolean toggleSeqs = !evt.isControlDown(); - boolean toggleCols = !evt.isAltDown(); + boolean toggleCols = !evt.isShiftDown(); boolean hide = false; SequenceGroup sg = viewport.getSelectionGroup(); diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index f7cc054..28feb0c 100755 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -238,7 +238,8 @@ public class AlignmentPanel extends GAlignmentPanel case KeyEvent.VK_H: { boolean toggleSeqs = !evt.isControlDown(); - boolean toggleCols = !evt.isAltDown(); + boolean toggleCols = !evt.isShiftDown(); + boolean hide = false; SequenceGroup sg = av.getSelectionGroup();