Transparent maps.

- new ac35 map image
- existing maps transparent backgrounds

#story[1301]
main
Jessica Syder 8 years ago
parent 31bb289723
commit edb0e1db2f

@ -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

Loading…
Cancel
Save