From 696c38c76713ab3a949bf9c76b1ce77dae6b5175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Ckpepper=E2=80=9D?= Date: Mon, 4 Feb 2019 16:34:40 +0000 Subject: [PATCH] Changed release version to 18.0.2. Fixed RT ticket 649125 (plot window right-click popup does not work on Windows 10). --- etc/versions | 8 ++++---- pom.xml | 2 +- .../java/uk/ac/sanger/artemis/components/Plot.java | 10 +++++++--- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/etc/versions b/etc/versions index 0a6516388..465c1aa46 100644 --- a/etc/versions +++ b/etc/versions @@ -1,4 +1,4 @@ -Artemis Release 18.0.1 -ACT Release 18.0.1 -DNAPlotter Release 18.0.1 -BamView 18.0.1 \ No newline at end of file +Artemis Release 18.0.2 +ACT Release 18.0.2 +DNAPlotter Release 18.0.2 +BamView 18.0.2 \ No newline at end of file diff --git a/pom.xml b/pom.xml index 2b480e341..40c56850a 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 uk.ac.sanger artemis - 18.0.1 + 18.0.2 Artemis Artemis is a free genome browser and annotation tool that allows visualisation of sequence features, next generation data and the results of analyses within the context of the sequence, and also its six-frame translation. diff --git a/src/main/java/uk/ac/sanger/artemis/components/Plot.java b/src/main/java/uk/ac/sanger/artemis/components/Plot.java index dd1dba14d..2981385b5 100644 --- a/src/main/java/uk/ac/sanger/artemis/components/Plot.java +++ b/src/main/java/uk/ac/sanger/artemis/components/Plot.java @@ -222,8 +222,12 @@ public int getWindowSize() { /** * Listen for mouse press popup menu and crosshair events. - **/ - public void mousePressed(MouseEvent event) + * + * This has been changed to fix RT ticket 649125 + * - the pop-up menu was not working on Windows + */ + @Override + public void mouseReleased(MouseEvent event) { if(event.isPopupTrigger() || event.isMetaDown()) { @@ -515,7 +519,7 @@ public void actionPerformed(ActionEvent e) else cancelCrossHairs(); - if(event.getClickCount() == 2) + if(event.getClickCount() >= 2) fireDoubleClickEvent(); else fireClickEvent();