From 35c90393ae0214587a3d1ebbcbdad019812e817a Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sun, 14 May 2017 20:21:55 +0300 Subject: [PATCH] improve coloring for different window states --- plasmoid/package/contents/ui/TaskGroupItem.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plasmoid/package/contents/ui/TaskGroupItem.qml b/plasmoid/package/contents/ui/TaskGroupItem.qml index 3f422ce57..8cdefa752 100644 --- a/plasmoid/package/contents/ui/TaskGroupItem.qml +++ b/plasmoid/package/contents/ui/TaskGroupItem.qml @@ -47,7 +47,6 @@ Item{ color: "transparent" opacity:0.6 }*/ - Item{ anchors.centerIn: parent @@ -66,7 +65,8 @@ Item{ glowFrame.isActiveColor : glowFrame.notActiveColor roundCorners: true - showAttention: model.IsDemandingAttention && plasmoid.status === PlasmaCore.Types.RequiresAttentionStatus ? true : false + showAttention: mainItemContainer.isDemandingAttention && plasmoid.status === PlasmaCore.Types.RequiresAttentionStatus ? + true : false opacity: (!mainItemContainer.hasActive && root.showPreviews && windowsPreviewDlg.activeItem && (windowsPreviewDlg.activeItem === mainItemContainer)) ? 0.4 : 1