Merge branch 'develop' into feature/JAL-3390hideUnmappedStructure
[jalview.git] / src / mc_view / PDBCanvas.java
similarity index 99%
rename from src/MCview/PDBCanvas.java
rename to src/mc_view/PDBCanvas.java
index a34e574..c15b54f 100644 (file)
@@ -18,7 +18,7 @@
  * along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
  * The Jalview Authors are detailed in the 'AUTHORS' file.
  */
-package MCview;
+package mc_view;
 
 import jalview.analysis.AlignSeq;
 import jalview.datamodel.PDBEntry;
@@ -36,7 +36,8 @@ import jalview.structure.StructureSelectionManager;
 
 import java.awt.Color;
 import java.awt.Dimension;
-import java.awt.event.InputEvent;import java.awt.Font;
+import java.awt.Event;
+import java.awt.Font;
 import java.awt.Graphics;
 import java.awt.Graphics2D;
 // JBPNote TODO: This class is quite noisy - needs proper log.info/log.debug
@@ -857,7 +858,7 @@ public class PDBCanvas extends JPanel
     MCMatrix objmat = new MCMatrix(3, 3);
     objmat.setIdentity();
 
-    if ((evt.getModifiersEx() & InputEvent.META_DOWN_MASK) != 0)
+    if ((evt.getModifiers() & Event.META_MASK) != 0)
     {
       objmat.rotatez(((mx - omx)));
     }