Merge branch 'feat/disable-esc-to-leave-message' into 'main'

Feat: Disable "ESC to leave fullscreen" message

See merge request cs108-fs26/Gruppe-13!177
This commit was merged in pull request #333.
This commit is contained in:
Jona Walpert
2026-05-13 21:59:03 +00:00
3 changed files with 3 additions and 0 deletions
@@ -52,6 +52,7 @@ public class IntroVideoPlayer extends Application {
stage.initStyle(StageStyle.UNDECORATED);
stage.setFullScreen(true);
stage.setFullScreenExitHint("");
stage.setScene(scene);
stage.show();
@@ -148,6 +148,7 @@ public class CasinoGameUI extends Application {
stage.setScene(scene);
stage.setFullScreen(true);
stage.setFullScreenExitHint("");
stage.setOnHidden(e -> controller.stop());
stage.show();
@@ -49,6 +49,7 @@ public class Casinomainui extends Application {
stage.getIcons().add(icon);
stage.setScene(scene);
stage.setFullScreen(true);
stage.setFullScreenExitHint("");
stage.show();
}