Commit bf22a4c7 authored by Nate Graham's avatar Nate Graham 🔩
Browse files

[applets/taskmanager] Add highlight effect for hovered tooltip

Summary: Looks better now, and matches the hover effect for the close button.

Test Plan: {F7816666}

Reviewers: #plasma, #vdg, mart

Reviewed By: #plasma, #vdg, mart

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D25959
parent bfdd9c9b
......@@ -178,8 +178,15 @@ Column {
// TODO: this causes XCB error message when being visible the first time
property int winId: isWin && windows[flatIndex] !== undefined ? windows[flatIndex] : 0
PlasmaComponents.Highlight {
anchors.fill: parent
visible: hoverHandler.containsMouse
pressed: hoverHandler.containsPress
}
PlasmaCore.WindowThumbnail {
anchors.fill: parent
anchors.margins: units.smallSpacing
visible: !albumArtImage.visible && !thumbnailSourceItem.isMinimized
winId: thumbnailSourceItem.winId
......@@ -227,6 +234,7 @@ Column {
}
ToolTipWindowMouseArea {
id: hoverHandler
anchors.fill: parent
rootTask: parentTask
modelIndex: submodelIndex
......
Markdown is supported
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