Made FPS marker not draw on canvas.

Have to revert the use of the observer pattern since there is no time to change how and when data is passed.
This commit is contained in:
Calum
2017-05-24 17:17:06 +12:00
parent d22d758757
commit 14a7305a2d
5 changed files with 27 additions and 56 deletions
@@ -32,6 +32,13 @@ public class BoatAnnotations extends Group{
private Text legTimeObject;
private Long lastMarkTime;
public enum Annotations {
TEAM_NAME,
VELOCITY_OBJECT,
TTNEXT,
LEG_TIME,
}
BoatAnnotations (Yacht boat, Color theme) {
super.setCache(true);
background.setX(15d);
@@ -40,7 +47,7 @@ public class BoatAnnotations extends Group{
background.setHeight(55);
background.setArcHeight(10);
background.setArcWidth(10);
background.setFill(new Color(1, 1, 1, 0.25));
background.setFill(new Color(1, 1, 1, 0.35));
background.setStroke(theme);
background.setStrokeWidth(2);
background.setCache(true);