From: MorellThomas Date: Tue, 5 Dec 2023 10:16:49 +0000 (+0100) Subject: Cleanup, note: rectangular selection works by holding mouse wheel and s (see line... X-Git-Tag: Release_2_11_4_0~31^2~26 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=2c75105252694b47d6c8bd64bdd44025a5ccadad;p=jalview.git Cleanup, note: rectangular selection works by holding mouse wheel and s (see line 633 in RotatableCanvas) --- diff --git a/src/jalview/gui/RotatableCanvas.java b/src/jalview/gui/RotatableCanvas.java index 6dd7cd4..28038a5 100755 --- a/src/jalview/gui/RotatableCanvas.java +++ b/src/jalview/gui/RotatableCanvas.java @@ -745,8 +745,6 @@ public class RotatableCanvas extends JPanel { float[] centre = getCentre(); - //&! - //System.out.println(String.format("rectangle: %d, %d, %d, %d, width: %d, height: %d", x1, y1, x2, y2, getWidth(), getHeight())); for (int i = 0; i < npoint; i++) { SequencePoint sp = sequencePoints.get(i); @@ -759,8 +757,6 @@ public class RotatableCanvas extends JPanel + (getHeight() / 2.0)); float pre2 = ((sp.coord.y - centre[1]) * getScaleFactor()); - //&! - //System.out.println(String.format("%s -- pre1: %3.2f, tmp1: %d, pre2: %3.2f, tmp2: %d", sp.toString(), pre1, tmp1, pre2, tmp2)); if ((tmp1 > x1) && (tmp1 < x2) && (tmp2 > y1) && (tmp2 < y2)) { if (av != null)