Let button inactive opacity be defined by theme colours

They have an alpha channel. Let's put it to use...

Contributes to issue CURA-4148.
This commit is contained in:
Ghostkeeper 2017-08-21 14:50:27 +02:00
parent f88ffee638
commit d50f498fef
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -291,7 +291,6 @@ QtObject {
UM.RecolorImage {
id: tool_button_arrow
opacity: !control.enabled ? 0.2 : 1.0
anchors.right: parent.right;
anchors.rightMargin: (Theme.getSize("button").width - Theme.getSize("button_icon").width) / 4
anchors.bottom: parent.bottom;