最初のもどるボタンを削除する

This commit is contained in:
yuuki
2025-02-11 15:12:15 +09:00
parent aa1c2544a1
commit c95b11fa12

View File

@@ -285,13 +285,18 @@ class SongSelect{
skin: this.songSkin.back,
action: "back"
})
let backIndex = this.songs.findIndex((obj) => obj.action === "back");
if (backIndex !== -1) {
this.songs.splice(backIndex, 1);
}
}, songIndex + 200);
// エラーを回避するためにもどるボタンをあらかじめ追加する
this.songs.push({
title: strings.back,
skin: this.songSkin.back,
action: "back"
action: "back",
});
this.songAsset = {