added a refresh for the info table so no new values are shown when the game is in full screen

This commit is contained in:
hba56
2017-08-17 13:15:33 +12:00
parent df2b674b94
commit 3cf50c56f8
@@ -454,6 +454,7 @@ public class RaceController extends Controller {
arrowPane.setScaleY(0.5);
arrowPane.setTranslateX(0 + (arrowPane.getScene().getWidth()/4)*tablePercent);
arrowPane.setTranslateY(0 - arrowPane.getScene().getHeight()/4);
}else{
race.setDividerPositions(1);
@@ -461,7 +462,9 @@ public class RaceController extends Controller {
arrowPane.setScaleY(1);
arrowPane.setTranslateX(0);
arrowPane.setTranslateY(0);
}
boatInfoTable.refresh();
infoTableShow = !infoTableShow;
}