Skip to content

Commit 7aa2a8e

Browse files
Added opacity change on click
1 parent d99094b commit 7aa2a8e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/presentation/sidebar/MProfilePopupItem.qml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Item
2222
id: layout
2323
anchors.fill: parent
2424
spacing: root.textSpacing
25+
opacity: mouseArea.pressed ? 0.8 : 1
2526

2627
Image
2728
{
@@ -45,6 +46,7 @@ Item
4546

4647
MouseArea
4748
{
49+
id: mouseArea
4850
anchors.fill: parent
4951

5052
onClicked: root.clicked()

0 commit comments

Comments
 (0)