Make selection look better

This commit is contained in:
miruka
2020-03-26 21:01:36 -04:00
parent 2d471b70f5
commit a61f1d5d04
5 changed files with 22 additions and 10 deletions

View File

@@ -130,9 +130,13 @@ HMxcImage {
Rectangle {
anchors.fill: parent
visible: eventDelegate.checked
// XXX
color: "blue"
opacity: 0.2
visible: opacity > 0
color: theme.chat.message.checkedBackground
opacity:
eventDelegate.checked ?
theme.chat.message.thumbnailCheckedOverlayOpacity :
0
Behavior on opacity { HNumberAnimation {} }
}
}