mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 22:10:25 +02:00
re-enable the info button for user images on nearby tab
This commit is contained in:
parent
e20fcca959
commit
5fc4bbc260
1 changed files with 19 additions and 0 deletions
|
@ -81,6 +81,25 @@ Item {
|
||||||
anchors.fill: parent;
|
anchors.fill: parent;
|
||||||
visible: userImage.status != Image.Ready;
|
visible: userImage.status != Image.Ready;
|
||||||
}
|
}
|
||||||
|
StateImage {
|
||||||
|
id: infoHoverImage;
|
||||||
|
visible: false;
|
||||||
|
imageURL: "../../images/info-icon-2-state.svg";
|
||||||
|
size: 32;
|
||||||
|
buttonState: 1;
|
||||||
|
anchors.centerIn: parent;
|
||||||
|
}
|
||||||
|
MouseArea {
|
||||||
|
anchors.fill: parent
|
||||||
|
enabled: (selected || isMyCard) && activeTab == "nearbyTab";
|
||||||
|
hoverEnabled: enabled
|
||||||
|
onClicked: {
|
||||||
|
userInfoViewer.url = defaultBaseUrl + "/users/" + userName;
|
||||||
|
userInfoViewer.visible = true;
|
||||||
|
}
|
||||||
|
onEntered: infoHoverImage.visible = true;
|
||||||
|
onExited: infoHoverImage.visible = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Colored border around avatarImage
|
// Colored border around avatarImage
|
||||||
|
|
Loading…
Reference in a new issue