mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 16:41:02 +02:00
Fix MS15582: In My Purchases, invisible buttons shouldn't be clickable
This commit is contained in:
parent
08fcad1932
commit
c5ef5cfccb
1 changed files with 4 additions and 6 deletions
|
@ -163,7 +163,6 @@ Item {
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: contextCard;
|
id: contextCard;
|
||||||
z: 2;
|
|
||||||
anchors.left: parent.left;
|
anchors.left: parent.left;
|
||||||
anchors.leftMargin: 30;
|
anchors.leftMargin: 30;
|
||||||
anchors.top: parent.top;
|
anchors.top: parent.top;
|
||||||
|
@ -337,7 +336,6 @@ Item {
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: permissionExplanationCard;
|
id: permissionExplanationCard;
|
||||||
z: 1;
|
|
||||||
anchors.left: parent.left;
|
anchors.left: parent.left;
|
||||||
anchors.leftMargin: 30;
|
anchors.leftMargin: 30;
|
||||||
anchors.top: parent.top;
|
anchors.top: parent.top;
|
||||||
|
@ -596,8 +594,8 @@ Item {
|
||||||
anchors.fill: parent;
|
anchors.fill: parent;
|
||||||
hoverEnabled: enabled;
|
hoverEnabled: enabled;
|
||||||
onClicked: {
|
onClicked: {
|
||||||
contextCard.z = 1;
|
contextCard.visible = true;
|
||||||
permissionExplanationCard.z = 0;
|
permissionExplanationCard.visible = false;
|
||||||
root.sendToPurchases({ method: 'flipCard' });
|
root.sendToPurchases({ method: 'flipCard' });
|
||||||
}
|
}
|
||||||
onEntered: {
|
onEntered: {
|
||||||
|
@ -779,8 +777,8 @@ Item {
|
||||||
noPermissionGlyph.color = hifi.colors.redAccent;
|
noPermissionGlyph.color = hifi.colors.redAccent;
|
||||||
}
|
}
|
||||||
onClicked: {
|
onClicked: {
|
||||||
contextCard.z = 0;
|
contextCard.visible = false;
|
||||||
permissionExplanationCard.z = 1;
|
permissionExplanationCard.visible = true;
|
||||||
root.sendToPurchases({ method: 'flipCard' });
|
root.sendToPurchases({ method: 'flipCard' });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue