mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-03 10:53:49 +00:00
bug 317: set default tail length to 300s; default zoom to include buoys
This commit is contained in:
1 parent
7aa941e9e3
commit
1f81f4074b
3 files changed
+3
-2
No files matched your search
+1
-1
@@ -15,7 +15,7 @@ public class RaceMapSettings {
|
||||
|
||||
private RaceMapZoomSettings zoomSettings;
|
||||
|
||||
private long tailLengthInMilliseconds = 30000l;
|
||||
private long tailLengthInMilliseconds = 300000l;
|
||||
|
||||
public RaceMapSettings() {
|
||||
maneuverTypesToShow = new HashSet<ManeuverType>();
|
||||
|
||||
+1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user