bug 317: set default tail length to 300s; default zoom to include buoys

This commit is contained in:
Axel Uhl committed 2012-02-21 04:05:05 +01:00
1 parent 7aa941e9e3
commit 1f81f4074b
3 files changed
+3 -2

No files matched your search

@@ -15,7 +15,7 @@ public class RaceMapSettings {
private RaceMapZoomSettings zoomSettings;
private long tailLengthInMilliseconds = 30000l;
private long tailLengthInMilliseconds = 300000l;
public RaceMapSettings() {
maneuverTypesToShow = new HashSet<ManeuverType>();
@@ -39,6 +39,7 @@ public class RaceMapZoomSettings {
typesToConsiderOnZoom = new ArrayList<ZoomTypes>();
typesToConsiderOnZoom.add(ZoomTypes.BOATS);
typesToConsiderOnZoom.add(ZoomTypes.TAILS);
typesToConsiderOnZoom.add(ZoomTypes.BUOYS);
zoomToSelectedCompetitors = false;
}
@@ -198,7 +198,7 @@ public class Timer {
if (playMode == PlayModes.Replay) {
newTime += (long) playSpeedFactor * refreshInterval;
} else {
newTime = System.currentTimeMillis() - getLivePlayDelayInMillis();
newTime = System.currentTimeMillis() - getLivePlayDelayInMillis();
}
setTime(newTime);
}