mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-26 13:27:05 +08:00
update
This commit is contained in:
parent
475cb54d73
commit
4b84e9175d
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user