mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-21 15:53:50 +02:00
Fix empty displayName in gameLog + Fix progress pie filter
This commit is contained in:
@@ -8244,6 +8244,9 @@ speechSynthesis.getVoices();
|
||||
this.showUserDialog(ref.userId);
|
||||
return;
|
||||
}
|
||||
if (!ref.displayname) {
|
||||
return;
|
||||
}
|
||||
for (var ctx of API.cachedUsers.values()) {
|
||||
if (ctx.displayName === ref.displayName) {
|
||||
this.showUserDialog(ctx.id);
|
||||
@@ -9852,6 +9855,21 @@ speechSynthesis.getVoices();
|
||||
if (this.isDarkMode) {
|
||||
notificationTheme = 'sunset';
|
||||
}
|
||||
var VRConfigVars = {
|
||||
overlayNotifications: this.overlayNotifications,
|
||||
hideDevicesFromFeed: this.hideDevicesFromFeed,
|
||||
minimalFeed: this.minimalFeed,
|
||||
notificationPosition: this.notificationPosition,
|
||||
notificationTimeout: this.notificationTimeout,
|
||||
notificationTheme,
|
||||
backgroundEnabled: this.vrBackgroundEnabled
|
||||
};
|
||||
var json = JSON.stringify(VRConfigVars);
|
||||
AppApi.ExecuteVrFeedFunction('configUpdate', json);
|
||||
AppApi.ExecuteVrOverlayFunction('configUpdate', json);
|
||||
};
|
||||
|
||||
$app.methods.updateVRLastLocation = function () {
|
||||
var progressPie = false;
|
||||
if (this.progressPie) {
|
||||
progressPie = true;
|
||||
@@ -9866,28 +9884,13 @@ speechSynthesis.getVoices();
|
||||
}
|
||||
}
|
||||
}
|
||||
var VRConfigVars = {
|
||||
overlayNotifications: this.overlayNotifications,
|
||||
hideDevicesFromFeed: this.hideDevicesFromFeed,
|
||||
minimalFeed: this.minimalFeed,
|
||||
notificationPosition: this.notificationPosition,
|
||||
notificationTimeout: this.notificationTimeout,
|
||||
notificationTheme,
|
||||
backgroundEnabled: this.vrBackgroundEnabled,
|
||||
progressPie
|
||||
};
|
||||
var json = JSON.stringify(VRConfigVars);
|
||||
AppApi.ExecuteVrFeedFunction('configUpdate', json);
|
||||
AppApi.ExecuteVrOverlayFunction('configUpdate', json);
|
||||
};
|
||||
|
||||
$app.methods.updateVRLastLocation = function () {
|
||||
var lastLocation = {
|
||||
date: this.lastLocation.date,
|
||||
location: this.lastLocation.location,
|
||||
name: this.lastLocation.name,
|
||||
playerList: Array.from(this.lastLocation.playerList.values()),
|
||||
friendList: Array.from(this.lastLocation.friendList.values())
|
||||
friendList: Array.from(this.lastLocation.friendList.values()),
|
||||
progressPie
|
||||
};
|
||||
var json = JSON.stringify(lastLocation);
|
||||
AppApi.ExecuteVrFeedFunction('lastLocationUpdate', json);
|
||||
|
||||
Reference in New Issue
Block a user