Feat: add black background to intro video player
This commit is contained in:
@@ -41,6 +41,9 @@ public class IntroVideoPlayer extends Application {
|
||||
|
||||
StackPane root = new StackPane(mediaView);
|
||||
|
||||
// black background
|
||||
root.setStyle("-fx-background-color: black;");
|
||||
|
||||
Rectangle2D screenBounds = Screen.getPrimary().getBounds();
|
||||
|
||||
Scene scene = new Scene(root, screenBounds.getWidth(), screenBounds.getHeight());
|
||||
|
||||
Reference in New Issue
Block a user