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

main
hba56 9 years ago
parent df2b674b94
commit 3cf50c56f8

@ -454,14 +454,17 @@ public class RaceController extends Controller {
arrowPane.setScaleY(0.5); arrowPane.setScaleY(0.5);
arrowPane.setTranslateX(0 + (arrowPane.getScene().getWidth()/4)*tablePercent); arrowPane.setTranslateX(0 + (arrowPane.getScene().getWidth()/4)*tablePercent);
arrowPane.setTranslateY(0 - arrowPane.getScene().getHeight()/4); arrowPane.setTranslateY(0 - arrowPane.getScene().getHeight()/4);
}else{ }else{
race.setDividerPositions(1); race.setDividerPositions(1);
arrowPane.setScaleX(1); arrowPane.setScaleX(1);
arrowPane.setScaleY(1); arrowPane.setScaleY(1);
arrowPane.setTranslateX(0); arrowPane.setTranslateX(0);
arrowPane.setTranslateY(0); arrowPane.setTranslateY(0);
} }
boatInfoTable.refresh();
infoTableShow = !infoTableShow; infoTableShow = !infoTableShow;
} }

Loading…
Cancel
Save