color fix for first leg
#story[1306]
This commit is contained in:
@@ -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