Ignore:
Timestamp:
2015-07-01T21:33:04+02:00 (5 years ago)
Author:
bastiK
Message:

applied #11634 - Moved global SOM management out of NavigationComponent to SystemOfMeasurement class (patch by michael2402)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/ParallelWayAction.java

    r8540 r8554  
    3232import org.openstreetmap.josm.gui.MapFrame;
    3333import org.openstreetmap.josm.gui.MapView;
    34 import org.openstreetmap.josm.gui.NavigatableComponent;
    3534import org.openstreetmap.josm.gui.layer.Layer;
    3635import org.openstreetmap.josm.gui.layer.MapViewPaintable;
     
    424423            // - Snap steps relative to the distance?
    425424            double snapDistance;
    426             SystemOfMeasurement som = NavigatableComponent.getSystemOfMeasurement();
     425            SystemOfMeasurement som = SystemOfMeasurement.getSystemOfMeasurement();
    427426            if (som.equals(SystemOfMeasurement.CHINESE)) {
    428427                snapDistance = snapDistanceChinese * SystemOfMeasurement.CHINESE.aValue;
Note: See TracChangeset for help on using the changeset viewer.