On Sun, 2008-09-21 at 08:53 +0200, Frederik Ramm wrote:
> I just remembered that I am the list admnistrator and can modify
> Mailman's behaviour through a web interface ;-) I have turned off the
> content-type filtering of attachments now so perhaps even re-sending
> would work.
Resent. However, I would not like to be responsible for non-text crap on
this list.
Matthew
Index: src/org/openstreetmap/josm/gui/SelectionManager.java
===================================================================
--- src/org/openstreetmap/josm/gui/SelectionManager.java (revision 969)
+++ src/org/openstreetmap/josm/gui/SelectionManager.java (working copy)
@@ -236,17 +236,18 @@
}
if (aspectRatio) {
- // keep the aspect ration by shrinking the rectangle
+ /* Keep the aspect ratio by growing the rectangle; the
+ * rectangle is always under the cursor. */
double aspectRatio = (double)nc.getWidth()/nc.getHeight();
- if ((double)w/h > aspectRatio) {
+ if ((double)w/h < aspectRatio) {
int neww = (int)(h*aspectRatio);
if (mousePos.x < mousePosStart.x)
- x += w-neww;
+ x += w - neww;
w = neww;
} else {
int newh = (int)(w/aspectRatio);
if (mousePos.y < mousePosStart.y)
- y += h-newh;
+ y += h - newh;
h = newh;
}
}
_______________________________________________
josm-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/josm-dev