Remove ElevationEffect.

This commit is contained in:
Black Hat 2018-10-22 12:11:46 +08:00
parent 2ef322d3d9
commit 1c7f2fecb3
1 changed files with 4 additions and 4 deletions

View File

@ -43,10 +43,10 @@ Rectangle {
Layout.margins: 12 Layout.margins: 12
color: MSettings.darkTheme ? "#303030" : "#fafafa" color: MSettings.darkTheme ? "#303030" : "#fafafa"
layer.enabled: true // layer.enabled: true
layer.effect: ElevationEffect { // layer.effect: ElevationEffect {
elevation: searchField.focus ? 2 : 1 // elevation: searchField.focus ? 2 : 1
} // }
RowLayout { RowLayout {
anchors.fill: parent anchors.fill: parent