Ignore:
Timestamp:
2016-01-01T22:41:38+01:00 (8 years ago)
Author:
simon04
Message:

fix #11237 - Change default color of waypoints and GPS tracks to magenta

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/MarkerLayer.java

    r8846 r9248  
    7474    public AudioMarker syncAudioMarker;
    7575
     76    private static final Color DEFAULT_COLOR = Color.magenta;
     77
    7678    /**
    7779     * Constructs a new {@code MarkerLayer}.
     
    190192    public Color getColor(boolean ignoreCustom) {
    191193        String name = getName();
    192         return Main.pref.getColor(marktr("gps marker"), name != null ? "layer "+name : null, Color.gray);
     194        return Main.pref.getColor(marktr("gps marker"), name != null ? "layer "+name : null, DEFAULT_COLOR);
    193195    }
    194196
    195197    /* for preferences */
    196198    public static Color getGenericColor() {
    197         return Main.pref.getColor(marktr("gps marker"), Color.gray);
     199        return Main.pref.getColor(marktr("gps marker"), DEFAULT_COLOR);
    198200    }
    199201
Note: See TracChangeset for help on using the changeset viewer.