diff options
Diffstat (limited to 'window-switcher/WindowCard.qml')
| -rw-r--r-- | window-switcher/WindowCard.qml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/window-switcher/WindowCard.qml b/window-switcher/WindowCard.qml index 177aac9..be97427 100644 --- a/window-switcher/WindowCard.qml +++ b/window-switcher/WindowCard.qml @@ -40,13 +40,19 @@ Item { HoverHandler { id: cardHover } + Glow { + anchors.fill: box + radius: box.radius + on: cardHover.hovered + } + Rectangle { id: box anchors.fill: parent radius: 10 color: Theme.surface border.color: cardHover.hovered ? Theme.accent : Theme.surfaceAlt - border.width: cardHover.hovered ? 3 : 1 + border.width: 1 // The rect already has the window's shape, so the preview fills it. // The fit is kept for the moment before a capture lands: an |
