This commit is contained in:
朱子楚\zhuzi 2023-11-28 20:09:44 +08:00
parent ce3da2e92f
commit d07383ba46
2 changed files with 6 additions and 6 deletions

View File

@ -124,14 +124,14 @@ Window {
left: parent.left left: parent.left
right: parent.right right: parent.right
} }
sourceComponent: FluApp.useSystemAppBar ? undefined : com_app_bar sourceComponent: window.useSystemAppBar ? undefined : com_app_bar
} }
Component{ Component{
id:com_app_bar id:com_app_bar
Item{ Item{
data: window.appBar data: window.appBar
height: { height: {
if(FluApp.useSystemAppBar){ if(window.useSystemAppBar){
return 0 return 0
} }
return window.fitsAppBarWindows ? 0 : childrenRect.height return window.fitsAppBarWindows ? 0 : childrenRect.height
@ -254,7 +254,7 @@ Window {
id:loader_window_border id:loader_window_border
anchors.fill: parent anchors.fill: parent
z:999 z:999
sourceComponent: FluApp.useSystemAppBar ? undefined : com_window_border sourceComponent: window.useSystemAppBar ? undefined : com_window_border
} }
Component{ Component{
id:com_window_border id:com_window_border

View File

@ -123,14 +123,14 @@ Window {
left: parent.left left: parent.left
right: parent.right right: parent.right
} }
sourceComponent: FluApp.useSystemAppBar ? undefined : com_app_bar sourceComponent: window.useSystemAppBar ? undefined : com_app_bar
} }
Component{ Component{
id:com_app_bar id:com_app_bar
Item{ Item{
data: window.appBar data: window.appBar
height: { height: {
if(FluApp.useSystemAppBar){ if(window.useSystemAppBar){
return 0 return 0
} }
return window.fitsAppBarWindows ? 0 : childrenRect.height return window.fitsAppBarWindows ? 0 : childrenRect.height
@ -253,7 +253,7 @@ Window {
id:loader_window_border id:loader_window_border
anchors.fill: parent anchors.fill: parent
z:999 z:999
sourceComponent: FluApp.useSystemAppBar ? undefined : com_window_border sourceComponent: window.useSystemAppBar ? undefined : com_window_border
} }
Component{ Component{
id:com_window_border id:com_window_border