Changeset 5191 in josm


Ignore:
Timestamp:
2012-04-16T19:11:32+02:00 (8 years ago)
Author:
akks
Message:

fix #7566: Angle snapping: show 30 instead of 330

File:
1 edited

Legend:

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

    r5137 r5191  
    13911391                    e0 = p0.east();
    13921392                    n0 = p0.north();
    1393                     buildLabelText(nearestAngle);
     1393                    buildLabelText((nearestAngle<=180) ? nearestAngle : nearestAngle-360);
    13941394
    13951395                    phi = (nearestAngle + activeBaseHeading) * Math.PI / 180;
Note: See TracChangeset for help on using the changeset viewer.