Missing button image and zoom limit changed.
#story[1301]
This commit is contained in:
@@ -83,7 +83,7 @@ public class View3D extends Pane {
|
|||||||
*/
|
*/
|
||||||
private final double ZOOM_IN_LIMIT = 3;
|
private final double ZOOM_IN_LIMIT = 3;
|
||||||
private final double ZOOM_OUT_LIMIT = 700;
|
private final double ZOOM_OUT_LIMIT = 700;
|
||||||
private final double MAX_ZOOM_LIMIT = 1500;
|
private final double MAX_ZOOM_LIMIT = 1150;
|
||||||
private final double MAX_PITCH = 60; // birds eye view
|
private final double MAX_PITCH = 60; // birds eye view
|
||||||
private final double MIN_PITCH = 5; // third person view
|
private final double MIN_PITCH = 5; // third person view
|
||||||
private final double ZOOM_PER_KEYPRESS = 5; // distance changed per zoom
|
private final double ZOOM_PER_KEYPRESS = 5; // distance changed per zoom
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
/* Buttons */
|
/* Buttons */
|
||||||
#hostAGameBtn, #hostGameBtn, #btnJoin, #tutorialButton, #controlsBtn,
|
#hostAGameBtn, #hostGameBtn, #btnJoin, #tutorialButton, #controlsBtn,
|
||||||
#mainMenuBtn, #addBtn, #refreshBtn, #joinGameBtn, #spectateButton,
|
#mainMenuBtn, #addBtn, #refreshBtn, #joinGameBtn, #spectateButton,
|
||||||
#quitBtn
|
#quitBtn, #startButton
|
||||||
{
|
{
|
||||||
-fx-background-size: 150px;
|
-fx-background-size: 150px;
|
||||||
-fx-background-repeat: no-repeat;
|
-fx-background-repeat: no-repeat;
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Smaller buttons */
|
/* Smaller buttons */
|
||||||
#mainMenuBtn, #addBtn, #refreshBtn, #joinGameBtn, #spectateButton, #quitBtn {
|
#mainMenuBtn, #addBtn, #refreshBtn, #joinGameBtn, #spectateButton, #quitBtn, #startButton{
|
||||||
-fx-background-size: 115px;
|
-fx-background-size: 115px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -99,7 +99,13 @@
|
|||||||
#mainMenuBtn:pressed {
|
#mainMenuBtn:pressed {
|
||||||
-fx-background-image: url("/visualiser/images/mainMenuBtnPressed.png");
|
-fx-background-image: url("/visualiser/images/mainMenuBtnPressed.png");
|
||||||
}
|
}
|
||||||
|
#startButton{
|
||||||
|
-fx-background-image: url("/visualiser/images/startBtn.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
#startButton:pressed {
|
||||||
|
-fx-background-image: url("/visualiser/images/startBtnPressed.png");
|
||||||
|
}
|
||||||
/* match browsing lobby buttons */
|
/* match browsing lobby buttons */
|
||||||
#addBtn {
|
#addBtn {
|
||||||
-fx-background-image: url("/visualiser/images/addBtn.png");
|
-fx-background-image: url("/visualiser/images/addBtn.png");
|
||||||
|
|||||||
Reference in New Issue
Block a user