Feat: Disable "ESC to leave fullscreen" message
This commit is contained in:
@@ -52,6 +52,7 @@ public class IntroVideoPlayer extends Application {
|
|||||||
|
|
||||||
stage.initStyle(StageStyle.UNDECORATED);
|
stage.initStyle(StageStyle.UNDECORATED);
|
||||||
stage.setFullScreen(true);
|
stage.setFullScreen(true);
|
||||||
|
stage.setFullScreenExitHint("");
|
||||||
stage.setScene(scene);
|
stage.setScene(scene);
|
||||||
stage.show();
|
stage.show();
|
||||||
|
|
||||||
|
|||||||
@@ -148,6 +148,7 @@ public class CasinoGameUI extends Application {
|
|||||||
|
|
||||||
stage.setScene(scene);
|
stage.setScene(scene);
|
||||||
stage.setFullScreen(true);
|
stage.setFullScreen(true);
|
||||||
|
stage.setFullScreenExitHint("");
|
||||||
stage.setOnHidden(e -> controller.stop());
|
stage.setOnHidden(e -> controller.stop());
|
||||||
stage.show();
|
stage.show();
|
||||||
|
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ public class Casinomainui extends Application {
|
|||||||
stage.getIcons().add(icon);
|
stage.getIcons().add(icon);
|
||||||
stage.setScene(scene);
|
stage.setScene(scene);
|
||||||
stage.setFullScreen(true);
|
stage.setFullScreen(true);
|
||||||
|
stage.setFullScreenExitHint("");
|
||||||
stage.show();
|
stage.show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user