Dont look for middle mouse on the Mac
authoramwaterhouse <Andrew Waterhouse>
Fri, 1 Sep 2006 12:30:07 +0000 (12:30 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 1 Sep 2006 12:30:07 +0000 (12:30 +0000)
src/jalview/appletgui/SeqPanel.java

index 5e2f243..1684764 100755 (executable)
@@ -323,16 +323,15 @@ public class SeqPanel
        lastMousePress = evt.getPoint();\r
 \r
        if ( (evt.getModifiers() & InputEvent.BUTTON2_MASK) ==\r
-         InputEvent.BUTTON2_MASK)\r
+         InputEvent.BUTTON2_MASK && !av.MAC)\r
        {\r
          mouseWheelPressed = true;\r
          return;\r
        }\r
 \r
-       if (evt.isShiftDown() || evt.isAltDown() ||\r
-           evt.isControlDown())\r
+       if (evt.isShiftDown() || evt.isControlDown())\r
        {\r
-         if (evt.isAltDown() || evt.isControlDown())\r
+         if (evt.isControlDown())\r
          {\r
            groupEditing = true;\r
          }\r