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,9 +254,15 @@ Window {
if(window.useSystemAppBar || FluTools.isWindows10OrGreater()){ if(window.useSystemAppBar || FluTools.isWindows10OrGreater()){
return false return false
} }
if(FluTools.isMacos()){
if(window.visibility == Window.FullScreen){
return false
}
}else{
if(window.visibility == Window.Maximized || window.visibility == Window.FullScreen){ if(window.visibility == Window.Maximized || window.visibility == Window.FullScreen){
return false return false
} }
}
return true return true
} }
} }

View File

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