mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23: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
|
||||
anchors.fill: parent
|
||||
z: showHome ? 2 : 1
|
||||
visible: showHome || showPanel
|
||||
}
|
||||
|
||||
Item {
|
||||
|
|
@ -75,12 +76,14 @@ Rectangle {
|
|||
anchors.topMargin: topBarHeight
|
||||
anchors.bottomMargin: bottomBar.height
|
||||
z: showHome ? 1 : 2
|
||||
visible: !showHome
|
||||
}
|
||||
|
||||
Item {
|
||||
id: panelLayer
|
||||
anchors.fill: parent
|
||||
z: showPanel ? 3 : 0
|
||||
visible: showPanel
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
|
|
|
|||
Loading…
Reference in a new issue