From 300fef16258732e068e9d614ea6a0a28507bb413 Mon Sep 17 00:00:00 2001 From: Sig <62321214+sigprogramming@users.noreply.github.com> Date: Wed, 15 Jan 2025 01:29:45 +0900 Subject: [PATCH 1/2] =?UTF-8?q?hotfix:=20[release-0.22]=20AudioCell?= =?UTF-8?q?=E3=81=8C0=E5=80=8B=E3=81=AE=E3=81=A8=E3=81=8D=E3=81=ABDEFAULT?= =?UTF-8?q?=5FPROJECT=5FFILE=5FBASE=5FNAME=E3=81=A7=E3=82=A8=E3=83=A9?= =?UTF-8?q?=E3=83=BC=E3=81=8C=E7=99=BA=E7=94=9F=E3=81=97=E3=81=AA=E3=81=84?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB=E4=BF=AE=E6=AD=A3=20(#2484)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Hiroshiba --- src/store/audio.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/store/audio.ts b/src/store/audio.ts index 8fc45d7c7b..4a3a067cf0 100644 --- a/src/store/audio.ts +++ b/src/store/audio.ts @@ -1226,6 +1226,12 @@ export const audioStore = createPartialStore({ DEFAULT_PROJECT_FILE_BASE_NAME: { getter: (state) => { + // NOTE: 起動時にソングエディタが開かれた場合、トークの初期化が行われずAudioCellが作成されない + // TODO: ソングエディタが開かれてい場合はこの関数を呼ばないようにし、warningを出す + if (state.audioKeys.length === 0) { + return DEFAULT_PROJECT_NAME; + } + const headItemText = state.audioItems[state.audioKeys[0]].text; const tailItemText = From a59600d196beb5852979ea3e224fe0b30895a0f2 Mon Sep 17 00:00:00 2001 From: Hiroshiba Date: Wed, 15 Jan 2025 01:43:57 +0900 Subject: [PATCH 2/2] add: [release-0.22] to 0.22.4 (#2486) --- public/updateInfos.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/public/updateInfos.json b/public/updateInfos.json index 451bf29abd..751f10f1f6 100644 --- a/public/updateInfos.json +++ b/public/updateInfos.json @@ -1,4 +1,11 @@ [ + { + "version": "0.22.4", + "descriptions": [ + "ソング:トークエディタを開かないと保存できない問題を修正" + ], + "contributors": ["sigprogramming"] + }, { "version": "0.22.3", "descriptions": ["キャラクター「ぞん子」を追加"],