AddressBook: highlight background when selecting contact for transfer page

This commit is contained in:
rating89us 2021-05-22 11:31:05 +02:00 committed by GitHub
parent 937cb98256
commit 7997e6aaf4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,7 +134,7 @@ Rectangle {
height: addressBookListRow.addressBookListItemHeight
width: parent ? parent.width : undefined
Layout.fillWidth: true
color: "transparent"
color: itemMouseArea.containsMouse ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent"
function doSend() {
console.log("Sending to: ", address +" "+ paymentId);
@ -187,8 +187,10 @@ Rectangle {
}
MouseArea {
id: itemMouseArea
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
hoverEnabled: true
visible: root.selectAndSend
onClicked: {
doSend();