mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-22 00:03:51 +02:00
feat: refresh button on avatar dialog
This commit is contained in:
@@ -13506,6 +13506,7 @@ speechSynthesis.getVoices();
|
||||
this.$nextTick(() => adjustDialogZ(this.$refs.avatarDialog.$el));
|
||||
var D = this.avatarDialog;
|
||||
D.visible = true;
|
||||
D.loading = true;
|
||||
D.id = avatarId;
|
||||
D.treeData = [];
|
||||
D.fileSize = '';
|
||||
@@ -13569,6 +13570,8 @@ speechSynthesis.getVoices();
|
||||
D.fileSize = 'Error';
|
||||
});
|
||||
}
|
||||
}).finally(() => {
|
||||
D.loading = false;
|
||||
});
|
||||
};
|
||||
|
||||
@@ -13578,6 +13581,9 @@ speechSynthesis.getVoices();
|
||||
return;
|
||||
}
|
||||
switch (command) {
|
||||
case 'Refresh':
|
||||
this.showAvatarDialog(D.id);
|
||||
break;
|
||||
case 'Rename':
|
||||
this.promptRenameAvatar(D);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user