From 8a5be6e3e565f206151543de90bd86941dd6e14d Mon Sep 17 00:00:00 2001 From: Black Hat Date: Mon, 22 Oct 2018 11:12:48 +0800 Subject: [PATCH 1/3] Remove ElevationEffect. --- imports/Spectral/Page/Room.qml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/imports/Spectral/Page/Room.qml b/imports/Spectral/Page/Room.qml index 3cf6980..b0b496a 100644 --- a/imports/Spectral/Page/Room.qml +++ b/imports/Spectral/Page/Room.qml @@ -40,13 +40,13 @@ Page { if (width < 240) width = 64 } - ElevationEffect { - anchors.fill: source - z: source.z - 1 +// ElevationEffect { +// anchors.fill: source +// z: source.z - 1 - source: parent - elevation: 4 - } +// source: parent +// elevation: 4 +// } } RoomPanel { From 7910c1790064ed1045d108b2808fd454be334f84 Mon Sep 17 00:00:00 2001 From: Black Hat Date: Mon, 22 Oct 2018 03:23:46 +0000 Subject: [PATCH 2/3] Revert "Remove ElevationEffect." This reverts commit 8a5be6e3e565f206151543de90bd86941dd6e14d --- imports/Spectral/Page/Room.qml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/imports/Spectral/Page/Room.qml b/imports/Spectral/Page/Room.qml index b0b496a..3cf6980 100644 --- a/imports/Spectral/Page/Room.qml +++ b/imports/Spectral/Page/Room.qml @@ -40,13 +40,13 @@ Page { if (width < 240) width = 64 } -// ElevationEffect { -// anchors.fill: source -// z: source.z - 1 + ElevationEffect { + anchors.fill: source + z: source.z - 1 -// source: parent -// elevation: 4 -// } + source: parent + elevation: 4 + } } RoomPanel { From 1c7f2fecb355860d4f1023a4660884da4609ab7c Mon Sep 17 00:00:00 2001 From: Black Hat Date: Mon, 22 Oct 2018 12:11:46 +0800 Subject: [PATCH 3/3] Remove ElevationEffect. --- imports/Spectral/Panel/RoomListPanelForm.ui.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/imports/Spectral/Panel/RoomListPanelForm.ui.qml b/imports/Spectral/Panel/RoomListPanelForm.ui.qml index 93532ba..6ce1484 100644 --- a/imports/Spectral/Panel/RoomListPanelForm.ui.qml +++ b/imports/Spectral/Panel/RoomListPanelForm.ui.qml @@ -43,10 +43,10 @@ Rectangle { Layout.margins: 12 color: MSettings.darkTheme ? "#303030" : "#fafafa" - layer.enabled: true - layer.effect: ElevationEffect { - elevation: searchField.focus ? 2 : 1 - } +// layer.enabled: true +// layer.effect: ElevationEffect { +// elevation: searchField.focus ? 2 : 1 +// } RowLayout { anchors.fill: parent