effects/overview: add subtle outline around non-active desktops

Otherwise they have no border and look kind of cut off.

BUG: 450739
FIXED-IN: 5.25
This commit is contained in:
Nate Graham 2022-03-10 15:11:47 -07:00
parent cd74345652
commit 44184f4700

View file

@ -151,13 +151,13 @@ Item {
}
Rectangle {
readonly property bool active: !thumbnail.scaled && (delegate.activeFocus || dropArea.containsDrag || bar.selectedDesktop === delegate.desktop)
anchors.fill: parent
radius: 3
color: "transparent"
border.width: 2
border.color: PlasmaCore.ColorScope.highlightColor
opacity: dropArea.containsDrag ? 0.5 : 1.0
visible: !thumbnail.scaled && (delegate.activeFocus || dropArea.containsDrag || bar.selectedDesktop === delegate.desktop)
border.color: active ? PlasmaCore.ColorScope.highlightColor : PlasmaCore.ColorScope.textColor
opacity: dropArea.containsDrag || !active ? 0.5 : 1.0
}
MouseArea {