Ticket #11987: 0003-Fix-wrong-comment-default-is-0.002-degrees-at-the-mo.patch

File 0003-Fix-wrong-comment-default-is-0.002-degrees-at-the-mo.patch, 1.2 KB (added by michael2402, 7 years ago)
  • src/org/openstreetmap/josm/actions/AutoScaleAction.java

    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 { 
    8585    public static void zoomTo(Collection<OsmPrimitive> sel) {
    8686        BoundingXYVisitor bboxCalculator = new BoundingXYVisitor();
    8787        bboxCalculator.computeBoundingBox(sel);
    88         // increase bbox by 0.001 degrees on each side. this is required
     88        // increase bbox. This is required
    8989        // especially if the bbox contains one single node, but helpful
    9090        // in most other cases as well.
    9191        bboxCalculator.enlargeBoundingBox();