on xenial help sign in
opacity fixed
b5aea5aDiego Sarmentero
qml/Dash/Previews/PreviewPayments.qml+2−2
@@ -39,7 +39,7 @@ PreviewWidget {
39 text: paymentClient.formattedPrice
39 text: paymentClient.formattedPrice
40 onClicked: {
40 onClicked: {
41 paymentClient.start();
41 paymentClient.start();
42− root.processActive = true;
42+ paymentButton.opacity = 0;
43 }
43 }
44 anchors.right: parent.right
44 anchors.right: parent.right
45 width: (root.width - units.gu(1)) / 2
45 width: (root.width - units.gu(1)) / 2
@@ -68,7 +68,7 @@ PreviewWidget {
68 indeterminate: true
68 indeterminate: true
69 anchors.fill: paymentButton
69 anchors.fill: paymentButton
70 opacity: 1 - paymentsButton.opacity
70 opacity: 1 - paymentsButton.opacity
71− visible: opacity == 0 ? false : true
71+ visible: loadingBar.opacity == 0 ? false : true
72
72
73 Behavior on opacity { PropertyAnimation {duration: UbuntuAnimation.FastDuration}}
73 Behavior on opacity { PropertyAnimation {duration: UbuntuAnimation.FastDuration}}
74 }
74 }