From 7f5d52ef6eaadbbc5405e756ec3f1efa176ed64b Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 1 Sep 2006 12:30:07 +0000 Subject: [PATCH] Dont look for middle mouse on the Mac --- src/jalview/appletgui/SeqPanel.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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; } -- 1.7.10.2