From c46d5e1f0871ded856d92f6482a630cb3a030aeb Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Mon, 9 Sep 2019 20:28:11 +0300 Subject: [PATCH] plasma_indicator not load background at empty areas --from Latte v0.9.3 indicators can be loaded also as a general background layer for the view. Do not load the background layer in that case, we only need to load the foreground one when the android-style click animation is needed --- indicators/org.kde.latte.plasma/package/ui/main.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/indicators/org.kde.latte.plasma/package/ui/main.qml b/indicators/org.kde.latte.plasma/package/ui/main.qml index 170619dac..e783c21cf 100644 --- a/indicators/org.kde.latte.plasma/package/ui/main.qml +++ b/indicators/org.kde.latte.plasma/package/ui/main.qml @@ -47,8 +47,7 @@ LatteComponents.IndicatorItem { Loader{ id: backLayer anchors.fill: parent - active: level.isBackground - + active: level.isBackground && !indicator.isEmptySpace sourceComponent: BackLayer{} }