From 16460460b0afdf61babeeac99dd5daf82c77467a Mon Sep 17 00:00:00 2001 From: Pier Luigi Fiorini Date: Tue, 25 Nov 2014 21:56:59 +0100 Subject: [PATCH] Show layers according to flags --- compositor/contents/Compositor.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compositor/contents/Compositor.qml b/compositor/contents/Compositor.qml index 87e954e2..ba54611a 100644 --- a/compositor/contents/Compositor.qml +++ b/compositor/contents/Compositor.qml @@ -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 {