There was an error while loading. Please reload this page.
1 parent 630fed9 commit 8d48d0fCopy full SHA for 8d48d0f
1 file changed
MaiChartManager/Front/src/store/refs.ts
@@ -54,7 +54,7 @@ export const assetDirs = ref<GetAssetsDirsResult[]>([]);
54
export const version = ref<AppVersionResult>();
55
export const modInfo = ref<GameModInfo>();
56
57
-export const musicList = computed(() => musicListAll.value.filter(m => m.assetDir === selectedADir.value));
+export const musicList = computed(() => musicListAll.value.filter(m => m.assetDir === selectedADir.value).sort((a, b) => (a.id! % 10000) - (b.id! % 10000)));
58
export const selectedMusic = computed(() => musicList.value.find(m => m.id === selectMusicId.value));
59
export const selectedLevel = ref(0);
60
0 commit comments