effects/Overview: Add "pressed" effect to desktop bar
This commit is contained in:
parent
4eefd27f61
commit
96a8980861
1 changed files with 2 additions and 1 deletions
|
@ -151,7 +151,7 @@ Item {
|
|||
}
|
||||
|
||||
Rectangle {
|
||||
readonly property bool active: !thumbnail.scaled && (delegate.activeFocus || dropArea.containsDrag || bar.selectedDesktop === delegate.desktop)
|
||||
readonly property bool active: !thumbnail.scaled && (delegate.activeFocus || dropArea.containsDrag || mouseArea.containsPress || bar.selectedDesktop === delegate.desktop)
|
||||
anchors.fill: parent
|
||||
radius: 3
|
||||
color: "transparent"
|
||||
|
@ -161,6 +161,7 @@ Item {
|
|||
}
|
||||
|
||||
MouseArea {
|
||||
id: mouseArea
|
||||
anchors.fill: parent
|
||||
acceptedButtons: Qt.LeftButton | Qt.MiddleButton
|
||||
onClicked: {
|
||||
|
|
Loading…
Reference in a new issue