fix items shadow opacity calcs through abilities

work/spdx
Michail Vourlakos 4 years ago
parent 5edf5a14f8
commit f1ed85b481

@ -51,7 +51,7 @@ Ability.MyViewPrivate {
itemShadow.isEnabled: plasmoid.configuration.appletShadowsEnabled itemShadow.isEnabled: plasmoid.configuration.appletShadowsEnabled
itemShadow.size: itemShadow.isEnabled ? (0.5*metrics.iconSize) * (plasmoid.configuration.shadowSize/100) : 0 itemShadow.size: itemShadow.isEnabled ? (0.5*metrics.iconSize) * (plasmoid.configuration.shadowSize/100) : 0
itemShadow.shadowColor: "#" + myView.decimalToHex(itemShadowOpacity) + myView.itemShadowOpacity itemShadow.shadowColor: "#" + myView.decimalToHex(myView.itemShadowOpacity) + myView.itemShadowCurrentColor
itemShadow.shadowSolidColor: "#" + myView.itemShadowCurrentColor itemShadow.shadowSolidColor: "#" + myView.itemShadowCurrentColor
} }

Loading…
Cancel
Save