update 2023/7/22
parent
cc72ddc8f8
commit
e81077d826
|
|
@ -61,7 +61,7 @@ public class HomeView extends Application {
|
|||
|
||||
primaryStage.setOnCloseRequest(event -> {
|
||||
|
||||
if (PlatformUtil.isWindows()){
|
||||
if (PlatformUtil.isLinux()){
|
||||
primaryStage.setIconified(true);
|
||||
event.consume();
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in New Issue