started with showCourseGeometryMetrics

This commit is contained in:
Axel Uhl committed 2015-07-14 09:17:25 +02:00
1 parent d06fa5ffeb
commit 0e190541bf
2 files changed
+4 -4

No files matched your search

@@ -1304,7 +1304,10 @@ public class RaceMap extends AbsolutePanel implements TimeListener, CompetitorSe
}
private void showCourseGeometryMetrics(final CoursePositionsDTO courseDTO) {
if (settings.getHelpLinesSettings().isVisible(HelpLineTypes.STARTLINETOFIRSTMARKTRIANGLE)
&& courseDTO.startMarkPositions.size() > 1 && courseDTO.waypointPositions.size() > 1) {
}
}
private final StringBuilder windwardStartLineMarkToFirstMarkLineText = new StringBuilder();
@@ -42,15 +42,12 @@ public class SmallTransparentInfoOverlay extends CanvasOverlayV3 {
infoBoxWidth = 20;
infoBoxHeight = 20;
cornerRadius = 4;
if (getCanvas() != null) {
getCanvas().setWidth(String.valueOf(canvasWidth));
getCanvas().setHeight(String.valueOf(canvasHeight));
getCanvas().setCoordinateSpaceWidth(canvasWidth);
getCanvas().setCoordinateSpaceHeight(canvasHeight);
}
// setCanvasSize(canvasWidth, canvasHeight);
}
@Override