Verified Commit dda3609a authored by ivan tkachenko's avatar ivan tkachenko
Browse files

effects/Overview: Add "pressed" effect to desktop bar

(cherry picked from commit 96a89808)
parent 619f6d6a
......@@ -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: {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment