1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-24 18:50:38 +03:00

show glow when task inAttention state

--this applies when the user has activated glow
only for the active task, in that case glowing
is also applied when the task is inAttention
This commit is contained in:
Michail Vourlakos 2017-11-18 18:09:38 +02:00
parent f05be59ee3
commit c258deb07d

View File

@ -69,7 +69,7 @@ Item{
roundCorners: true
showAttention: mainItemContainer.showAttention
showGlow: {
if (root.showGlow && root.glowOption === Latte.Dock.GlowAll)
if (root.showGlow && (root.glowOption === Latte.Dock.GlowAll || showAttention ))
return true;
else if (root.showGlow && root.glowOption === Latte.Dock.GlowOnlyOnActive && mainItemContainer.hasActive)
return true;