Changeset 8346 in josm for trunk/src/org/openstreetmap/josm/actions/mapmode
- Timestamp:
- 2015-05-11T13:34:53+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
r8338 r8346 73 73 */ 74 74 public class DrawAction extends MapMode implements MapViewPaintable, SelectionChangedListener, KeyPressReleaseListener, ModifierListener { 75 76 private static final Color ORANGE_TRANSPARENT = new Color(Color.ORANGE.getRed(),Color.ORANGE.getGreen(),Color.ORANGE.getBlue(),128); 77 private static final double PHI = Math.toRadians(90); 78 75 79 private final Cursor cursorJoinNode; 76 80 private final Cursor cursorJoinWay; 77 81 78 82 private transient Node lastUsedNode = null; 79 private static final double PHI = Math.toRadians(90);80 83 private double toleranceMultiplier; 81 84 … … 116 119 private static int snapToIntersectionThreshold; 117 120 121 /** 122 * Constructs a new {@code DrawAction}. 123 * @param mapFrame Map frame 124 */ 118 125 public DrawAction(MapFrame mapFrame) { 119 126 super(tr("Draw"), "node/autonode", tr("Draw nodes"), … … 1323 1330 1324 1331 private JCheckBoxMenuItem checkBox; 1325 public final Color ORANGE_TRANSPARENT = new Color(Color.ORANGE.getRed(),Color.ORANGE.getGreen(),Color.ORANGE.getBlue(),128);1326 1332 1327 1333 public void init() {
Note:
See TracChangeset
for help on using the changeset viewer.