From f315cc71de3370aeb471620d36bf8a0c7994e3cf Mon Sep 17 00:00:00 2001
From: Michael Zangl <michael.zangl@student.kit.edu>
Date: Sat, 17 Oct 2015 18:17:35 +0200
Subject: [PATCH 3/4] Fix wrong comment (default is 0.002 degrees at the
moment)
---
.../josm/actions/AutoScaleAction.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/org/openstreetmap/josm/actions/AutoScaleAction.java b/src/org/openstreetmap/josm/actions/AutoScaleAction.java
index 2128505..7cfdc0d 100644
a
|
b
|
public class AutoScaleAction extends JosmAction { |
85 | 85 | public static void zoomTo(Collection<OsmPrimitive> sel) { |
86 | 86 | BoundingXYVisitor bboxCalculator = new BoundingXYVisitor(); |
87 | 87 | bboxCalculator.computeBoundingBox(sel); |
88 | | // increase bbox by 0.001 degrees on each side. this is required |
| 88 | // increase bbox. This is required |
89 | 89 | // especially if the bbox contains one single node, but helpful |
90 | 90 | // in most other cases as well. |
91 | 91 | bboxCalculator.enlargeBoundingBox(); |