color fix for first leg
#story[1306]
This commit is contained in:
@@ -68,11 +68,11 @@ public class RaceClock {
|
||||
/**
|
||||
* Format string used for duration before it has started.
|
||||
*/
|
||||
private String durationBeforeStartFormat = "Starting in: %02d:%02d:%02d";
|
||||
private String durationBeforeStartFormat = "%02d:%02d:%02d";
|
||||
/**
|
||||
* Format string used for duration once the race has started.
|
||||
*/
|
||||
private String durationAfterStartFormat = "Time: %02d:%02d:%02d";
|
||||
private String durationAfterStartFormat = "%02d:%02d:%02d";
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -796,7 +796,7 @@ public class ResizableRaceCanvas extends ResizableCanvas {
|
||||
private Color getLineColor(Leg leg) {
|
||||
for (VisualiserBoat boat : raceState.getBoats()) {
|
||||
if (boat.isClientBoat()) {
|
||||
if (boat.getCurrentLeg() == leg) {
|
||||
if (boat.getCurrentLeg().getLegNumber() == leg.getLegNumber()) {
|
||||
return Color.ORANGE;
|
||||
} else {
|
||||
return Color.MEDIUMAQUAMARINE;
|
||||
|
||||
Reference in New Issue
Block a user