mirror of
https://github.com/overte-org/overte.git
synced 2025-04-18 11:16:29 +02:00
Merging from Pal_v2_Zach
This commit is contained in:
parent
e3d0842ddc
commit
5da0dfc4ac
3 changed files with 8 additions and 6 deletions
|
@ -91,7 +91,7 @@ Item {
|
|||
enabled: selected || isMyCard;
|
||||
hoverEnabled: enabled
|
||||
onClicked: {
|
||||
userInfoViewer.url = "http://highfidelity.com/users/" + userName;
|
||||
userInfoViewer.url = defaultBaseUrl + "/users/" + userName;
|
||||
userInfoViewer.visible = true;
|
||||
}
|
||||
}
|
||||
|
@ -116,12 +116,12 @@ Item {
|
|||
id: myDisplayName
|
||||
visible: isMyCard
|
||||
// Size
|
||||
width: parent.width - avatarImage.width - anchors.leftMargin*2 - anchors.rightMargin;
|
||||
width: parent.width - avatarImage.width - anchors.leftMargin - anchors.rightMargin*2;
|
||||
height: 40
|
||||
// Anchors
|
||||
anchors.top: avatarImage.top
|
||||
anchors.left: avatarImage.right
|
||||
anchors.leftMargin: 5;
|
||||
anchors.leftMargin: avatarImage.visible ? 5 : 0;
|
||||
anchors.rightMargin: 5;
|
||||
// Style
|
||||
color: myDisplayNameMouseArea.containsMouse ? hifi.colors.lightGrayText : hifi.colors.textFieldLightBackground
|
||||
|
@ -293,7 +293,7 @@ Item {
|
|||
FiraSansRegular {
|
||||
id: userNameText
|
||||
// Properties
|
||||
text: thisNameCard.userName
|
||||
text: thisNameCard.userName === "Unknown user" ? "not logged in" : thisNameCard.userName;
|
||||
elide: Text.ElideRight
|
||||
visible: thisNameCard.userName !== "";
|
||||
// Size
|
||||
|
|
|
@ -941,7 +941,7 @@ Rectangle {
|
|||
Rectangle {
|
||||
id: navigationContainer;
|
||||
visible: userInfoViewer.visible;
|
||||
height: 75;
|
||||
height: 70;
|
||||
anchors {
|
||||
top: parent.top;
|
||||
left: parent.left;
|
||||
|
@ -1018,7 +1018,7 @@ Rectangle {
|
|||
left: parent.left;
|
||||
right: parent.right;
|
||||
}
|
||||
height: 25;
|
||||
height: 30;
|
||||
width: parent.width;
|
||||
|
||||
FiraSansRegular {
|
||||
|
@ -1125,6 +1125,7 @@ Rectangle {
|
|||
break;
|
||||
case 'connections':
|
||||
var data = message.params;
|
||||
console.log('Got connection data: ', JSON.stringify(data));
|
||||
connectionsUserModelData = data;
|
||||
sortConnectionsModel();
|
||||
connectionsLoading.visible = false;
|
||||
|
|
|
@ -261,6 +261,7 @@ function fromQml(message) { // messages are {method, params}, like json-rpc. See
|
|||
UserActivityLogger.palAction("refresh_nearby", "");
|
||||
break;
|
||||
case 'refreshConnections':
|
||||
print('Refreshing Connections...');
|
||||
getConnectionData();
|
||||
UserActivityLogger.palAction("refresh_connections", "");
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue