mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
Show layers according to flags
This commit is contained in:
parent
91370ad6d5
commit
16460460b0
1 changed files with 3 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ Rectangle {
|
||||||
id: desktopLayer
|
id: desktopLayer
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
z: showHome ? 2 : 1
|
z: showHome ? 2 : 1
|
||||||
|
visible: showHome || showPanel
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
|
@ -75,12 +76,14 @@ Rectangle {
|
||||||
anchors.topMargin: topBarHeight
|
anchors.topMargin: topBarHeight
|
||||||
anchors.bottomMargin: bottomBar.height
|
anchors.bottomMargin: bottomBar.height
|
||||||
z: showHome ? 1 : 2
|
z: showHome ? 1 : 2
|
||||||
|
visible: !showHome
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: panelLayer
|
id: panelLayer
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
z: showPanel ? 3 : 0
|
z: showPanel ? 3 : 0
|
||||||
|
visible: showPanel
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue