mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-27 10:43:48 +02:00
Reverse avatar history
This commit is contained in:
@@ -21955,7 +21955,7 @@ speechSynthesis.getVoices();
|
|||||||
API.$on('LOGIN', async function () {
|
API.$on('LOGIN', async function () {
|
||||||
$app.avatarHistory = new Set();
|
$app.avatarHistory = new Set();
|
||||||
var historyArray = await database.getAvatarHistory();
|
var historyArray = await database.getAvatarHistory();
|
||||||
$app.avatarHistoryArray = historyArray;
|
$app.avatarHistoryArray = historyArray.reverse();
|
||||||
for (var i = 0; i < historyArray.length; i++) {
|
for (var i = 0; i < historyArray.length; i++) {
|
||||||
$app.avatarHistory.add(historyArray[i].id);
|
$app.avatarHistory.add(historyArray[i].id);
|
||||||
this.applyAvatar(historyArray[i]);
|
this.applyAvatar(historyArray[i]);
|
||||||
|
|||||||
Reference in New Issue
Block a user