Changeset 11452 in josm for trunk/src/org/openstreetmap/josm/gui/layer/gpx/GpxDrawHelper.java
- Timestamp:
- 2017-01-12T01:24:40+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/gpx/GpxDrawHelper.java
r11451 r11452 175 175 SystemOfMeasurement som = SystemOfMeasurement.getSystemOfMeasurement(); 176 176 velocityScale.addTitle(tr("Velocity, {0}", som.speedName)); 177 if ( Main.isDisplayingMapView() && oldSoM != null && newSoM != null) {177 if (oldSoM != null && newSoM != null && Main.isDisplayingMapView()) { 178 178 Main.map.mapView.repaint(); 179 179 } … … 1167 1167 */ 1168 1168 private void checkCache() { 1169 if ((computeCacheMaxLineLengthUsed != maxLineLength) || (!neutralColor.equals(computeCacheColorUsed)) 1170 || (computeCacheColored != colored) || (computeCacheColorTracksTune != colorTracksTune) 1169 if ((computeCacheMaxLineLengthUsed != maxLineLength) 1170 || (computeCacheColored != colored) 1171 || (computeCacheColorTracksTune != colorTracksTune) 1171 1172 || (computeCacheColorDynamic != colorModeDynamic) 1172 1173 || (computeCacheHeatMapDrawColorTableIdx != heatMapDrawColorTableIdx) 1174 || (!neutralColor.equals(computeCacheColorUsed)) 1173 1175 ) { 1174 1176 computeCacheMaxLineLengthUsed = maxLineLength;
Note:
See TracChangeset
for help on using the changeset viewer.