From: amwaterhouse Date: Fri, 1 Sep 2006 12:30:07 +0000 (+0000) Subject: Dont look for middle mouse on the Mac X-Git-Tag: Release_2_1_1~18 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=7f5d52ef6eaadbbc5405e756ec3f1efa176ed64b;p=jalview.git Dont look for middle mouse on the Mac --- diff --git a/src/jalview/appletgui/SeqPanel.java b/src/jalview/appletgui/SeqPanel.java index 5e2f243..1684764 100755 --- a/src/jalview/appletgui/SeqPanel.java +++ b/src/jalview/appletgui/SeqPanel.java @@ -323,16 +323,15 @@ public class SeqPanel lastMousePress = evt.getPoint(); if ( (evt.getModifiers() & InputEvent.BUTTON2_MASK) == - InputEvent.BUTTON2_MASK) + InputEvent.BUTTON2_MASK && !av.MAC) { mouseWheelPressed = true; return; } - if (evt.isShiftDown() || evt.isAltDown() || - evt.isControlDown()) + if (evt.isShiftDown() || evt.isControlDown()) { - if (evt.isAltDown() || evt.isControlDown()) + if (evt.isControlDown()) { groupEditing = true; }