1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-05 05:47:26 +03:00

fix items shadow opacity calcs through abilities

This commit is contained in:
Michail Vourlakos 2021-01-27 20:34:48 +02:00
parent 5edf5a14f8
commit f1ed85b481

View File

@ -51,7 +51,7 @@ Ability.MyViewPrivate {
itemShadow.isEnabled: plasmoid.configuration.appletShadowsEnabled
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
}