don't draw the background if there is an highlight
mouseover highlight plus item backgrounds looks horrible together
This commit is contained in:
parent
a7c1e92ef2
commit
5f22e36cd5
@ -87,6 +87,7 @@ Item {
|
|||||||
prefix: "normal"
|
prefix: "normal"
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
visible: listItem.ListView && listItem.ListView.view.highlight === null
|
||||||
opacity: itemMouse.containsMouse && !itemMouse.pressed ? 0.5 : 1
|
opacity: itemMouse.containsMouse && !itemMouse.pressed ? 0.5 : 1
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
prefix = (listItem.sectionDelegate ? "section" : (listItem.checked ? "pressed" : "normal"))
|
prefix = (listItem.sectionDelegate ? "section" : (listItem.checked ? "pressed" : "normal"))
|
||||||
|
Loading…
Reference in New Issue
Block a user