mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-08-28 16:28:59 +00:00
Fixed some UI issues with map navigation controls
This commit is contained in:
parent
eee5be69db
commit
5c05c342d5
@ -71,9 +71,9 @@
|
|||||||
<Button alignment="TOP_CENTER" layoutX="265.0" mnemonicParsing="false" onAction="#scrollMapUp" styleClass="moveButton" text="Up" AnchorPane.topAnchor="5.0" />
|
<Button alignment="TOP_CENTER" layoutX="265.0" mnemonicParsing="false" onAction="#scrollMapUp" styleClass="moveButton" text="Up" AnchorPane.topAnchor="5.0" />
|
||||||
<Button layoutY="185.0" mnemonicParsing="false" onAction="#scrollMapLeft" rotate="270.0" styleClass="moveButton" text="Left" AnchorPane.leftAnchor="-10.0" />
|
<Button layoutY="185.0" mnemonicParsing="false" onAction="#scrollMapLeft" rotate="270.0" styleClass="moveButton" text="Left" AnchorPane.leftAnchor="-10.0" />
|
||||||
<Button layoutX="265.0" mnemonicParsing="false" onAction="#scrollMapDown" rotate="180.0" styleClass="moveButton" text="Down" AnchorPane.bottomAnchor="5.0" />
|
<Button layoutX="265.0" mnemonicParsing="false" onAction="#scrollMapDown" rotate="180.0" styleClass="moveButton" text="Down" AnchorPane.bottomAnchor="5.0" />
|
||||||
<Button layoutY="175.0" mnemonicParsing="false" onAction="#scrollMapRight" rotate="90.0" styleClass="moveButton" text="Right" AnchorPane.rightAnchor="-15.0" />
|
<Button layoutY="175.0" mnemonicParsing="false" onAction="#scrollMapRight" rotate="90.0" styleClass="moveButton" text="Right" AnchorPane.rightAnchor="0" />
|
||||||
<Button mnemonicParsing="false" onAction="#mapZoomIn" styleClass="zoomInButton" text="+" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="5.0" />
|
<Button mnemonicParsing="false" onAction="#mapZoomIn" styleClass="zoomInButton" text="+" AnchorPane.rightAnchor="7.0" AnchorPane.topAnchor="5.0" />
|
||||||
<Button mnemonicParsing="false" onAction="#mapZoomOut" prefHeight="23.999908447265625" styleClass="zoomOutButton" text="-" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="30.0" />
|
<Button mnemonicParsing="false" onAction="#mapZoomOut" prefHeight="23.999908447265625" styleClass="zoomOutButton" text="-" AnchorPane.rightAnchor="7.0" AnchorPane.topAnchor="30.0" />
|
||||||
</children>
|
</children>
|
||||||
</AnchorPane>
|
</AnchorPane>
|
||||||
</children>
|
</children>
|
||||||
|
@ -18,12 +18,18 @@
|
|||||||
-fx-graphic: url("../images/zoomIn.png");
|
-fx-graphic: url("../images/zoomIn.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
.moveButton, .zoomInButton, .zoomOutButton{
|
.moveButton {
|
||||||
-fx-background-color: rgba(0,0,0,0);
|
-fx-background-color: rgba(0,0,0,0);
|
||||||
-fx-content-display: graphic-only;
|
-fx-content-display: graphic-only;
|
||||||
-fx-effect: dropshadow(gaussian, navy, 10, 0.5, 0, 0);
|
-fx-effect: dropshadow(gaussian, navy, 10, 0.5, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.zoomInButton, .zoomOutButton{
|
||||||
|
-fx-background-color: rgba(0,0,0,0);
|
||||||
|
-fx-content-display: graphic-only;
|
||||||
|
-fx-effect: dropshadow(gaussian, white, 10, 0.5, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
.eraseButton {
|
.eraseButton {
|
||||||
-fx-graphic: url("../images/eraser-icon.png");
|
-fx-graphic: url("../images/eraser-icon.png");
|
||||||
-fx-content-display: graphic-only;
|
-fx-content-display: graphic-only;
|
||||||
|
Loading…
Reference in New Issue
Block a user