Remove ElevationEffect.

square-messages
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
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