mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 22:33:50 +02:00
Fix performance stat "None", auto status change with company check, print crop and centering
This commit is contained in:
@@ -1876,6 +1876,12 @@ speechSynthesis.getVoices();
|
||||
});
|
||||
};
|
||||
|
||||
API.$on('AVATAR:IMPOSTER:DELETE', function (args) {
|
||||
if (args.json && $app.avatarDialog.visible) {
|
||||
$app.showAvatarDialog($app.avatarDialog.id);
|
||||
}
|
||||
});
|
||||
|
||||
// #endregion
|
||||
// #region | API: Notification
|
||||
|
||||
@@ -6253,7 +6259,7 @@ speechSynthesis.getVoices();
|
||||
|
||||
var withCompany = this.lastLocation.playerList.size > 1;
|
||||
if (this.autoStateChangeNoFriends) {
|
||||
withCompany = this.lastLocation.friendList.size > 1;
|
||||
withCompany = this.lastLocation.friendList.size >= 1;
|
||||
}
|
||||
|
||||
var currentStatus = API.currentUser.status;
|
||||
@@ -10317,10 +10323,28 @@ speechSynthesis.getVoices();
|
||||
continue;
|
||||
}
|
||||
if (unityPackage.platform === 'standalonewindows') {
|
||||
if (
|
||||
unityPackage.performanceRating === 'None' &&
|
||||
pc.performanceRating
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
pc = unityPackage;
|
||||
} else if (unityPackage.platform === 'android') {
|
||||
if (
|
||||
unityPackage.performanceRating === 'None' &&
|
||||
android.performanceRating
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
android = unityPackage;
|
||||
} else if (unityPackage.platform === 'ios') {
|
||||
if (
|
||||
unityPackage.performanceRating === 'None' &&
|
||||
ios.performanceRating
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
ios = unityPackage;
|
||||
}
|
||||
}
|
||||
@@ -12019,7 +12043,6 @@ speechSynthesis.getVoices();
|
||||
message: 'Imposter deleted',
|
||||
type: 'success'
|
||||
});
|
||||
this.showAvatarDialog(D.id);
|
||||
return args;
|
||||
});
|
||||
break;
|
||||
@@ -16346,8 +16369,12 @@ speechSynthesis.getVoices();
|
||||
};
|
||||
|
||||
$app.methods.getAndDisplayScreenshotFromFile = async function () {
|
||||
var filePath = await AppApi.OpenFileSelectorDialog(await AppApi.GetVRChatPhotosLocation(), ".png", "PNG Files (*.png)|*.png");
|
||||
if (filePath === "") {
|
||||
var filePath = await AppApi.OpenFileSelectorDialog(
|
||||
await AppApi.GetVRChatPhotosLocation(),
|
||||
'.png',
|
||||
'PNG Files (*.png)|*.png'
|
||||
);
|
||||
if (filePath === '') {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -22247,7 +22274,7 @@ speechSynthesis.getVoices();
|
||||
var unityPackage = D.ref.unityPackages[i];
|
||||
if (
|
||||
unityPackage.variant &&
|
||||
unityPackage.variant !== 'standard' &&
|
||||
// unityPackage.variant !== 'standard' &&
|
||||
unityPackage.variant !== 'security'
|
||||
) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user