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
layer.enabled: true
layer.effect: DropShadow {
cached: true
horizontalOffset: 0
verticalOffset: 2
radius: 8.0

View file

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

View file

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