Commit 16460460 authored by Pier Luigi Fiorini's avatar Pier Luigi Fiorini

Show layers according to flags

parent 91370ad6
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment