- Timestamp:
- 2008-02-19T15:34:18+01:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/MarkerLayer.java
r550 r551 346 346 nextTime = true; 347 347 } else { 348 if (previousMarker == null) 349 previousMarker = startMarker; // if no previous one, play the first one again 348 350 ((AudioMarker)previousMarker).play(); 349 351 break; … … 356 358 previousMarker = marker; 357 359 } 360 if (nextTime) { 361 // there was no next marker in that layer, so play the last one again 362 ((AudioMarker)startMarker).play(); 363 return; 364 } 358 365 } 359 366 }
Note:
See TracChangeset
for help on using the changeset viewer.