1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-08-21 13:49:29 +03:00

fix Latte Indicator when plasmoid in Desktop

This commit is contained in:
Michail Vourlakos
2019-03-17 16:08:52 +02:00
parent b89ef0e50b
commit e505e20e59

View File

@ -223,8 +223,8 @@ Item{
roundCorners: true
showGlow: glowEnabled && glowOption === Latte.Types.GlowAll
visible: ( options.isGroup && ((dotsOnActive && activeIndicatorType === Latte.Types.LineIndicator)
|| activeIndicatorType === Latte.Types.DotIndicator
|| !options.hasActive) )? true: false
|| activeIndicatorType === Latte.Types.DotIndicator
|| !options.hasActive) )? true: false
//when there is no active window
property color state1Color: options.hasShown ? indicatorRoot.isActiveColor : indicatorRoot.minimizedColor
@ -247,7 +247,8 @@ Item{
},
State {
name: "bottom"
when: ((plasmoid.location === PlasmaCore.Types.BottomEdge && !reversedEnabled) ||
when: (plasmoid.location === PlasmaCore.Types.Floating ||
(plasmoid.location === PlasmaCore.Types.BottomEdge && !reversedEnabled) ||
(plasmoid.location === PlasmaCore.Types.TopEdge && reversedEnabled))
AnchorChanges {