Transparent maps.

- new ac35 map image
- existing maps transparent backgrounds

#story[1301]
This commit is contained in:
Jessica Syder
2017-09-28 13:05:52 +13:00
parent 31bb289723
commit edb0e1db2f
4 changed files with 5 additions and 5 deletions
@@ -83,8 +83,8 @@ public class HostGameController extends Controller {
listOfMaps = new ArrayList(Arrays.asList(ac35Map, oMap, iMap, mMap));
mapImage.setImage(listOfMaps.get(currentMapIndex));
Platform.runLater(() -> {
mapImage.fitWidthProperty()
.bind(mapImage.getScene().getWindow().widthProperty().multiply(0.6));
mapImage.fitHeightProperty()
.bind(mapImage.getScene().getWindow().heightProperty().multiply(0.6));
});
}
@@ -169,7 +169,7 @@
/* Host Game / Map Selection */
#nextButton, #previousButton {
-fx-background-image: url("/visualiser/images/ArrowSelect.png");
-fx-background-image: url("/visualiser/images/ArrowClick.png");
-fx-background-size: 60px;
-fx-background-repeat: no-repeat;
-fx-background-position: center center;
@@ -183,11 +183,11 @@
}
#nextButton:pressed {
-fx-background-image: url("/visualiser/images/ArrowClick.png");
-fx-background-image: url("/visualiser/images/ArrowSelect.png");
}
#previousButton:pressed {
-fx-background-image: url("/visualiser/images/ArrowClick.png");
-fx-background-image: url("/visualiser/images/ArrowSelect.png");
}
.slider .thumb {
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 MiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 15 KiB