Feat: Disable "ESC to leave fullscreen" message

This commit is contained in:
Jona Walpert
2026-05-13 23:56:19 +02:00
parent e9dc8f1586
commit cea21093c4
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();
}