Skip to content
Snippets Groups Projects
Commit a362af22 authored by Tran Peter's avatar Tran Peter
Browse files

change(intro): change mouse cursor to invisible

parent cb168084
No related branches found
No related tags found
4 merge requests!74V1,!73Initial commit,!71Merge DataBase into Development,!4Merge UI into Development
......@@ -3,6 +3,7 @@ package de.hdm_stuttgart.battlearena.Controller;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Cursor;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;
......@@ -33,6 +34,7 @@ public class IntroController implements Initializable {
@Override
public void initialize(URL url, ResourceBundle resourceBundle) {
introParent.setStyle("-fx-background-color: black;");
introParent.setCursor(Cursor.NONE);
createMediaPlayer();
}
......@@ -80,6 +82,7 @@ public class IntroController implements Initializable {
}
private void nextVideo() {
// TODO: look into not disposing mediaPlayer
mediaPlayer.dispose();
file = new File(fileName + videos[counter + 1]);
counter++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment