This commit is contained in:
朱子楚\zhuzi 2023-12-30 22:31:56 +08:00
parent 475cb54d73
commit 4b84e9175d
2 changed files with 16 additions and 4 deletions

View File

@ -254,8 +254,14 @@ Window {
if(window.useSystemAppBar || FluTools.isWindows10OrGreater()){
return false
}
if(window.visibility == Window.Maximized || window.visibility == Window.FullScreen){
return false
if(FluTools.isMacos()){
if(window.visibility == Window.FullScreen){
return false
}
}else{
if(window.visibility == Window.Maximized || window.visibility == Window.FullScreen){
return false
}
}
return true
}

View File

@ -253,8 +253,14 @@ Window {
if(window.useSystemAppBar || FluTools.isWindows10OrGreater()){
return false
}
if(window.visibility == Window.Maximized || window.visibility == Window.FullScreen){
return false
if(FluTools.isMacos()){
if(window.visibility == Window.FullScreen){
return false
}
}else{
if(window.visibility == Window.Maximized || window.visibility == Window.FullScreen){
return false
}
}
return true
}