mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-24 18:03:53 +03:00
add showGlow property to GlowPoints
This commit is contained in:
parent
c3a9d09ecf
commit
6b34a5118e
@ -48,6 +48,7 @@ Item{
|
||||
|
||||
basicColor: theme.buttonFocusColor
|
||||
roundCorners: true
|
||||
showGlow: root.showGlow
|
||||
|
||||
opacity:{
|
||||
if ( (!vertical && width <= glowFrame.size)
|
||||
|
@ -30,6 +30,7 @@ Item{
|
||||
|
||||
property bool roundCorners: true
|
||||
property bool showAttention: false
|
||||
property bool showGlow: false
|
||||
|
||||
property int animation: Math.max(1.65*3*units.longDuration,root.durationTime*3*units.longDuration)
|
||||
|
||||
@ -98,7 +99,7 @@ Item{
|
||||
spread: 0.2
|
||||
color: smallCircle.color
|
||||
opacity: root.showBarLine ? 0.25 : 0.45
|
||||
visible: mimicPlasmaPanel ? false : root.showGlow
|
||||
visible: mimicPlasmaPanel ? false : glowItem.showGlow
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -31,6 +31,7 @@ Item{
|
||||
property bool roundCorners: true
|
||||
property bool showAttention: false
|
||||
|
||||
property bool showGlow: false
|
||||
property int animation: Math.max(1.65*3*units.longDuration,root.durationTime*3*units.longDuration)
|
||||
|
||||
property color attentionColor: colorScopePalette.negativeTextColor // "#ffff1717"
|
||||
@ -98,7 +99,7 @@ Item{
|
||||
spread: 0.2
|
||||
color: glowItem.showAttention ? smallCircleInAttention.color : smallCircle.color
|
||||
opacity: root.showBarLine ? 0.25 : 0.45
|
||||
visible: root.showGlow
|
||||
visible: glowItem.showGlow
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -66,6 +66,7 @@ Item{
|
||||
|
||||
roundCorners: true
|
||||
showAttention: mainItemContainer.showAttention
|
||||
showGlow: root.showGlow
|
||||
|
||||
opacity: (!mainItemContainer.hasActive && root.showPreviews
|
||||
&& windowsPreviewDlg.activeItem && (windowsPreviewDlg.activeItem === mainItemContainer)) ? 0.4 : 1
|
||||
@ -165,6 +166,7 @@ Item{
|
||||
|
||||
basicColor: state2Color //mainItemContainer.hasActive ? state2Color : state1Color
|
||||
roundCorners: true
|
||||
showGlow: root.showGlow
|
||||
visible: ( mainItemContainer.isGroupParent && root.dotsOnActive )
|
||||
|| (mainItemContainer.isGroupParent && !mainItemContainer.hasActive)? true: false
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user