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:
@@ -454,6 +454,7 @@ 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);
|
||||||
|
|
||||||
@@ -461,7 +462,9 @@ public class RaceController extends Controller {
|
|||||||
arrowPane.setScaleY(1);
|
arrowPane.setScaleY(1);
|
||||||
arrowPane.setTranslateX(0);
|
arrowPane.setTranslateX(0);
|
||||||
arrowPane.setTranslateY(0);
|
arrowPane.setTranslateY(0);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
boatInfoTable.refresh();
|
||||||
infoTableShow = !infoTableShow;
|
infoTableShow = !infoTableShow;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user