JAL-2077 fix: convenience method and checks for CMD+Click to toggle selections
[jalview.git] / src / jalview / appletgui / IdPanel.java
index b4ed6d9..36c2199 100755 (executable)
@@ -351,7 +351,8 @@ public class IdPanel extends Panel implements MouseListener,
     }
 
     if ((av.getSelectionGroup() == null)
-            || ((!e.isControlDown() && !e.isShiftDown()) && av
+            || ((!jalview.util.Platform.isControlDown(e) && !e
+                    .isShiftDown()) && av
                     .getSelectionGroup() != null))
     {
       av.setSelectionGroup(new SequenceGroup());