mirror of
https://github.com/KDE/latte-dock.git
synced 2025-02-05 05:47:26 +03:00
plasmoid:fix references for indicators
This commit is contained in:
parent
50c9eed11b
commit
79828d9706
@ -24,7 +24,8 @@ import org.kde.plasma.core 2.0 as PlasmaCore
|
||||
|
||||
import "options" as IndicatorOptions
|
||||
import "styles" as IndicatorStyles
|
||||
import "../task/indicator" as TaskIndicator
|
||||
|
||||
import org.kde.latte.abilities.items 0.1 as AbilityItem
|
||||
|
||||
Item{
|
||||
id: managerIndicator
|
||||
@ -50,8 +51,9 @@ Item{
|
||||
readonly property real minLengthPadding:0
|
||||
}
|
||||
|
||||
IndicatorOptions.Latte {
|
||||
id : explicitOptions
|
||||
AbilityItem.IndicatorObject {
|
||||
id: explicitOptions
|
||||
isTask: true
|
||||
}
|
||||
|
||||
//! Indicators Components
|
||||
|
@ -50,7 +50,7 @@ AbilityItem.IndicatorLevel {
|
||||
return root.vertical ? taskItem.wrapper.height - 2*taskItem.wrapper.mScale*taskItem.abilities.metrics.margin.length : taskItem.wrapper.height;
|
||||
}
|
||||
|
||||
level.isDrawn: !taskItem.isSeparator && !taskItem.isHidden && indicatorsHost.isEnabled
|
||||
level.isDrawn: indicatorsHost && indicatorsHost.isEnabled && !taskItem.isSeparator && !taskItem.isHidden
|
||||
|
||||
readonly property bool locked: inAttentionAnimation || inNewWindowAnimation || inBouncingAnimation
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user