Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
朱子楚\zhuzi committed Dec 30, 2023
1 parent 475cb54 commit 4b84e91
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions src/Qt5/imports/FluentUI/Controls/FluWindow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
10 changes: 8 additions & 2 deletions src/Qt6/imports/FluentUI/Controls/FluWindow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 4b84e91

Please sign in to comment.