From bd80832e4c794b68919768eb53834c967a12f68a Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 17 Aug 2006 10:11:48 +0000 Subject: [PATCH] control and shift --- src/jalview/appletgui/AlignFrame.java | 2 +- src/jalview/gui/AlignmentPanel.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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(); -- 1.7.10.2