1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 16:28:51 -05:00

Optimize Getting Started dialog for Windows

This commit is contained in:
Reinhard Pointner 2017-04-02 03:16:17 +08:00
parent 6e50888edc
commit 2ded72ad68

View File

@ -55,8 +55,13 @@ public class GettingStartedStage {
Stage stage = new Stage(); Stage stage = new Stage();
stage.setResizable(false); stage.setResizable(false);
if (isWindowsApp()) {
stage.initStyle(StageStyle.UNIFIED);
stage.initModality(Modality.NONE);
} else {
stage.initStyle(StageStyle.UTILITY); stage.initStyle(StageStyle.UTILITY);
stage.initModality(Modality.NONE); stage.initModality(Modality.NONE);
}
return new GettingStartedStage(stage); return new GettingStartedStage(stage);
} }