Changeset 32717 in osm
- Timestamp:
- 2016-07-26T16:15:45+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/mapillary
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mapillary/config/josm/preferences.xml
r32693 r32717 6 6 <entry value='apache-http'/> 7 7 </list> 8 <tag key='mapillary.developer' value='true'/> 8 9 <tag key='pluginmanager.time-based-update.policy' value='never'/> 9 10 <tag key='pluginmanager.version-based-update.policy' value='never'/> -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/MapillaryLayer.java
r32652 r32717 61 61 import org.openstreetmap.josm.plugins.mapillary.mode.SelectMode; 62 62 import org.openstreetmap.josm.plugins.mapillary.utils.MapViewGeometryUtil; 63 import org.openstreetmap.josm.plugins.mapillary.utils.MapillaryColorScheme; 63 64 import org.openstreetmap.josm.plugins.mapillary.utils.MapillaryUtils; 64 65 … … 334 335 // Draw sequence line 335 336 final MapillaryAbstractImage selectedImage = MapillaryLayer.getInstance().getData().getSelectedImage(); 336 String selectedImageKey = null; // Intentionally not null to avoid null-check before .equals()337 String selectedImageKey = null; 337 338 if (selectedImage != null && selectedImage.getSequence() != null) { 338 339 selectedImageKey = selectedImage.getSequence().getKey(); … … 341 342 for (MapillarySequence seq : getData().getSequences()) { 342 343 if (selectedImageKey != null && selectedImageKey.equals(seq.getKey())) { 343 g.setColor( Color.MAGENTA.brighter());344 g.setColor(MapillaryColorScheme.SEQ_SELECTED); 344 345 } else { 345 g.setColor( Color.WHITE);346 g.setColor(MapillaryColorScheme.SEQ_UNSELECTED); 346 347 } 347 348 g.draw(MapViewGeometryUtil.getSequencePath(mv, seq)); -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/utils/MapillaryColorScheme.java
r32593 r32717 13 13 14 14 public final class MapillaryColorScheme { 15 public static final Color SEQ_UNSELECTED = new Color(0x37a860); 16 public static final Color SEQ_UNSELECTED_VIEW = new Color(0x177542); 17 public static final Color SEQ_SELECTED = new Color(0x00b5f5); 18 public static final Color SEQ_SELECTED_VIEW = new Color(0x00769d); 19 public static final Color SEQ_HIGHLIGHTED_IMAGE = new Color(0xf5811a); 20 public static final Color SEQ_HIGHLIGHTED_IMG_VIEW = new Color(0xf5b81a); 21 15 22 public static final Color MAPILLARY_GREEN = new Color(0x35af6d); 16 23 public static final Color TOOLBAR_DARK_GREY = new Color(0x242528);
Note:
See TracChangeset
for help on using the changeset viewer.