|
|
|
@ -47,6 +47,11 @@ LatteComponents.IndicatorItem {
|
|
|
|
|
Loader{
|
|
|
|
|
id: backLayer
|
|
|
|
|
anchors.fill: parent
|
|
|
|
|
anchors.topMargin: plasmoid.location === PlasmaCore.Types.TopEdge ? indicator.screenEdgeMargin : 0
|
|
|
|
|
anchors.bottomMargin: plasmoid.location === PlasmaCore.Types.BottomEdge ? indicator.screenEdgeMargin : 0
|
|
|
|
|
anchors.leftMargin: plasmoid.location === PlasmaCore.Types.LeftEdge ? indicator.screenEdgeMargin : 0
|
|
|
|
|
anchors.rightMargin: plasmoid.location === PlasmaCore.Types.RightEdge ? indicator.screenEdgeMargin : 0
|
|
|
|
|
|
|
|
|
|
active: level.isBackground && !indicator.isEmptySpace
|
|
|
|
|
sourceComponent: BackLayer{}
|
|
|
|
|
}
|
|
|
|
@ -54,7 +59,7 @@ LatteComponents.IndicatorItem {
|
|
|
|
|
/* progress overlay for BackLayer*/
|
|
|
|
|
/* it is not added in the BackLayer because the BackLayer is rotated in some cases*/
|
|
|
|
|
Loader {
|
|
|
|
|
anchors.fill: parent
|
|
|
|
|
anchors.fill: backLayer
|
|
|
|
|
asynchronous: true
|
|
|
|
|
active: level.isBackground && indicator.progressVisible
|
|
|
|
|
sourceComponent: Item {
|
|
|
|
|