mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 22:46:06 +02:00
cleanup
This commit is contained in:
@@ -289,10 +289,6 @@ button {
|
|||||||
color: #c8c8c8;
|
color: #c8c8c8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-progress__text{
|
|
||||||
color: #c8c8c8;
|
|
||||||
}
|
|
||||||
|
|
||||||
.x-app {
|
.x-app {
|
||||||
background-color: #101010;
|
background-color: #101010;
|
||||||
}
|
}
|
||||||
|
|||||||
+10
-1
@@ -3274,7 +3274,6 @@ speechSynthesis.getVoices();
|
|||||||
userId: content.userId
|
userId: content.userId
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$app.APILastOnline.set(content.userId, Date.now());
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'friend-active':
|
case 'friend-active':
|
||||||
@@ -5136,6 +5135,9 @@ speechSynthesis.getVoices();
|
|||||||
});
|
});
|
||||||
|
|
||||||
API.$on('FRIEND:STATE', function (args) {
|
API.$on('FRIEND:STATE', function (args) {
|
||||||
|
if (args.json.state === 'online') {
|
||||||
|
$app.APILastOnline.set(args.params.userId, Date.now());
|
||||||
|
}
|
||||||
$app.updateFriend(args.params.userId, args.json.state);
|
$app.updateFriend(args.params.userId, args.json.state);
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -11574,6 +11576,13 @@ speechSynthesis.getVoices();
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
API.$on('NOTIFICATION', function (args) {
|
||||||
|
var { json } = args;
|
||||||
|
if (json.type === 'invite') {
|
||||||
|
$app.inviteDownloadWorldCache(json);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
$app.methods.inviteDownloadWorldCache = function (invite) {
|
$app.methods.inviteDownloadWorldCache = function (invite) {
|
||||||
if ((this.worldAutoCacheInvite === 'Always') ||
|
if ((this.worldAutoCacheInvite === 'Always') ||
|
||||||
((this.worldAutoCacheInvite === 'Game Closed') && (!this.isGameRunning)) ||
|
((this.worldAutoCacheInvite === 'Game Closed') && (!this.isGameRunning)) ||
|
||||||
|
|||||||
@@ -496,6 +496,10 @@ i.x-user-status.busy {
|
|||||||
margin-right: -85px;
|
margin-right: -85px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.el-progress__text{
|
||||||
|
color: #c8c8c8;
|
||||||
|
}
|
||||||
|
|
||||||
.x-user-dialog .el-textarea__inner {
|
.x-user-dialog .el-textarea__inner {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background: none;
|
background: none;
|
||||||
|
|||||||
Reference in New Issue
Block a user