1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 08:18:52 -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.setResizable(false);
stage.initStyle(StageStyle.UTILITY);
stage.initModality(Modality.NONE);
if (isWindowsApp()) {
stage.initStyle(StageStyle.UNIFIED);
stage.initModality(Modality.NONE);
} else {
stage.initStyle(StageStyle.UTILITY);
stage.initModality(Modality.NONE);
}
return new GettingStartedStage(stage);
}