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:
parent
cd74345652
commit
44184f4700
1 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue