From: amwaterhouse Date: Tue, 12 Sep 2006 09:19:45 +0000 (+0000) Subject: For now ignore middle mouse font resize on Mac applet X-Git-Tag: Release_2_1_1~6 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=df9b5e19bad989699ed5313ea7283754f522ed5d;p=jalview.git For now ignore middle mouse font resize on Mac applet --- 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; }