From cf91c250734b87f90703fa0d8f92bb9e032a7cfa Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 12 Feb 2020 09:57:40 +0100 Subject: [PATCH] cache shadows --- containments/homescreen/package/contents/ui/ScrollIndicator.qml | 1 + containments/panel/package/contents/ui/main.qml | 1 + containments/taskpanel/package/contents/ui/main.qml | 1 + 3 files changed, 3 insertions(+) diff --git a/containments/homescreen/package/contents/ui/ScrollIndicator.qml b/containments/homescreen/package/contents/ui/ScrollIndicator.qml index 09382e40..a0fc6299 100644 --- a/containments/homescreen/package/contents/ui/ScrollIndicator.qml +++ b/containments/homescreen/package/contents/ui/ScrollIndicator.qml @@ -33,6 +33,7 @@ PlasmaCore.SvgItem { height: width layer.enabled: true layer.effect: DropShadow { + cached: true horizontalOffset: 0 verticalOffset: 2 radius: 8.0 diff --git a/containments/panel/package/contents/ui/main.qml b/containments/panel/package/contents/ui/main.qml index 2a3c969f..9db4c495 100644 --- a/containments/panel/package/contents/ui/main.qml +++ b/containments/panel/package/contents/ui/main.qml @@ -146,6 +146,7 @@ Item { DropShadow { anchors.fill: icons visible: !showinApp + cached: true horizontalOffset: 0 verticalOffset: 1 radius: 4.0 diff --git a/containments/taskpanel/package/contents/ui/main.qml b/containments/taskpanel/package/contents/ui/main.qml index 1d28e0df..fa867c8d 100644 --- a/containments/taskpanel/package/contents/ui/main.qml +++ b/containments/taskpanel/package/contents/ui/main.qml @@ -104,6 +104,7 @@ PlasmaCore.ColorScope { DropShadow { anchors.fill: icons visible: !showinApp + cached: true horizontalOffset: 0 verticalOffset: 1 radius: 4.0