Merge pull request #3496

7997e6a AddressBook: highlight background when selecting contact for transfer page (rating89us)
This commit is contained in:
luigi1111 2021-06-01 01:38:45 -05:00
commit 416979cdbd
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

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();