mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-08 12:46:08 +00:00
fix(StatusComboBox): Pointing hand cursor on hover (#862)
This commit is contained in:
parent
2d3e7919f1
commit
93a709bf36
@ -76,6 +76,13 @@ Item {
|
|||||||
: comboBox.hovered
|
: comboBox.hovered
|
||||||
? Theme.palette.primaryColor2
|
? Theme.palette.primaryColor2
|
||||||
: "transparent"
|
: "transparent"
|
||||||
|
|
||||||
|
MouseArea {
|
||||||
|
anchors.fill: parent
|
||||||
|
cursorShape: Qt.PointingHandCursor
|
||||||
|
acceptedButtons: Qt.NoButton
|
||||||
|
enabled: root.enabled
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
contentItem: StatusBaseText {
|
contentItem: StatusBaseText {
|
||||||
|
@ -19,7 +19,6 @@ ItemDelegate {
|
|||||||
spacing: root.spacing
|
spacing: root.spacing
|
||||||
|
|
||||||
StatusIcon {
|
StatusIcon {
|
||||||
id: iconItem
|
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
visible: !!icon
|
visible: !!icon
|
||||||
icon: root.icon.name
|
icon: root.icon.name
|
||||||
@ -45,5 +44,12 @@ ItemDelegate {
|
|||||||
color: root.highlighted
|
color: root.highlighted
|
||||||
? Theme.palette.statusPopupMenu.hoverBackgroundColor
|
? Theme.palette.statusPopupMenu.hoverBackgroundColor
|
||||||
: "transparent"
|
: "transparent"
|
||||||
|
|
||||||
|
MouseArea {
|
||||||
|
anchors.fill: parent
|
||||||
|
cursorShape: Qt.PointingHandCursor
|
||||||
|
acceptedButtons: Qt.NoButton
|
||||||
|
enabled: root.enabled
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user