cache shadows

This commit is contained in:
Marco Martin 2020-02-12 09:57:40 +01:00
parent 6c9b6acace
commit cf91c25073
3 changed files with 3 additions and 0 deletions

View file

@ -33,6 +33,7 @@ PlasmaCore.SvgItem {
height: width height: width
layer.enabled: true layer.enabled: true
layer.effect: DropShadow { layer.effect: DropShadow {
cached: true
horizontalOffset: 0 horizontalOffset: 0
verticalOffset: 2 verticalOffset: 2
radius: 8.0 radius: 8.0

View file

@ -146,6 +146,7 @@ Item {
DropShadow { DropShadow {
anchors.fill: icons anchors.fill: icons
visible: !showinApp visible: !showinApp
cached: true
horizontalOffset: 0 horizontalOffset: 0
verticalOffset: 1 verticalOffset: 1
radius: 4.0 radius: 4.0

View file

@ -104,6 +104,7 @@ PlasmaCore.ColorScope {
DropShadow { DropShadow {
anchors.fill: icons anchors.fill: icons
visible: !showinApp visible: !showinApp
cached: true
horizontalOffset: 0 horizontalOffset: 0
verticalOffset: 1 verticalOffset: 1
radius: 4.0 radius: 4.0