Fixed opacity of power icons

This commit is contained in:
Eric Kotato 2018-09-10 20:32:13 +03:00
parent c53b0a87a2
commit dc65e30424

View file

@ -44,6 +44,7 @@ Item
sourceSize.height: descriptionLabel.height + 10 - 4 sourceSize.height: descriptionLabel.height + 10 - 4
x: 2 x: 2
y: 2 y: 2
opacity: 0
} }
ColorOverlay ColorOverlay
@ -52,6 +53,7 @@ Item
anchors.fill: powerItemIcon anchors.fill: powerItemIcon
source: powerItemIcon source: powerItemIcon
color: ( hover ? colors.iconHover : colors.icon ) color: ( hover ? colors.iconHover : colors.icon )
opacity: parent.opacity
} }
Rectangle Rectangle