mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-02 02:13:55 +00:00
removed automatic time-based play mode transition from RaceTimePanel
This commit is contained in:
1 parent
f8d3aadde8
commit
33e1fd4622
1 file changed
+1
-7
+1
-7
@@ -94,13 +94,7 @@ public class RaceTimePanel extends TimePanel<RaceTimePanelSettings> implements R
|
||||
if (raceTimesInfo.startOfTracking != null && raceTimesInfo.timePointOfNewestEvent != null) {
|
||||
// we set here the min and max of the time slider, the start and end of the race as well as the known
|
||||
// leg markers
|
||||
if (isLiveModeToBeMadePossible()) {
|
||||
// don't worry; this will only fire an event if something actually changed
|
||||
// FIXME bug 323: dont' set the play mode but only make sure the time panel's "Live" button is enabled
|
||||
timer.setPlayMode(PlayModes.Live);
|
||||
} else {
|
||||
timer.setPlayMode(PlayModes.Replay);
|
||||
}
|
||||
setLiveGenerallyPossible(isLiveModeToBeMadePossible());
|
||||
boolean timerAlreadyInitialized = getMin() != null && getMax() != null && sliderBar.getCurrentValue() != null;
|
||||
initMinMax(raceTimesInfo);
|
||||
if (!timerAlreadyInitialized) {
|
||||
|
||||
Reference in new issue
Block a user