From df9b5e19bad989699ed5313ea7283754f522ed5d Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 12 Sep 2006 09:19:45 +0000 Subject: [PATCH] For now ignore middle mouse font resize on Mac applet --- src/jalview/appletgui/SeqPanel.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/jalview/appletgui/SeqPanel.java b/src/jalview/appletgui/SeqPanel.java index 1684764..7d614e7 100755 --- a/src/jalview/appletgui/SeqPanel.java +++ b/src/jalview/appletgui/SeqPanel.java @@ -322,6 +322,8 @@ public class SeqPanel { lastMousePress = evt.getPoint(); + //For now, ignore the mouseWheel font resizing on Macs + //As the Button2_mask always seems to be true if ( (evt.getModifiers() & InputEvent.BUTTON2_MASK) == InputEvent.BUTTON2_MASK && !av.MAC) { @@ -329,9 +331,11 @@ public class SeqPanel return; } - if (evt.isShiftDown() || evt.isControlDown()) + if (evt.isShiftDown() + || evt.isControlDown() + || evt.isAltDown()) { - if (evt.isControlDown()) + if (evt.isControlDown() || evt.isAltDown()) { groupEditing = true; } -- 1.7.10.2