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,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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user