Skip to content

Commit

Permalink
Feat SplashScreenView : Set the wait cursor for the scene when opened…
Browse files Browse the repository at this point in the history
… and the default cursor when closed
  • Loading branch information
Lob2018 committed Oct 26, 2024
1 parent 480b26e commit 81ad2f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/fr/softsf/sudofx2024/view/FullMenuView.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import java.util.Objects;

import javafx.scene.Cursor;

Check warning on line 5 in src/main/java/fr/softsf/sudofx2024/view/FullMenuView.java

View workflow job for this annotation

GitHub Actions / Qodana Community for JVM

Unused import

Unused import `import javafx.scene.Cursor;`
import org.springframework.beans.factory.annotation.Autowired;

import fr.softsf.sudofx2024.SudoMain;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ private void fxmlLikeStructure() {
public void hideSplashScreen() {
splashScreenStage.hide();
splashScreenStage.close();
scene.setCursor(Cursor.DEFAULT);
}

/**
Expand Down

0 comments on commit 81ad2f7

Please sign in to comment.