Skip to content

Commit

Permalink
Fix: フレーズのレンダリングでエラーになることがあるのを修正 (#2271)
Browse files Browse the repository at this point in the history
phraseのstateを更新していなかったのを修正
  • Loading branch information
sigprogramming authored Sep 24, 2024
1 parent cc6a8d1 commit f0df6a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/store/singing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1695,7 +1695,9 @@ export const singingStore = createPartialStore<SingingStoreTypes>({
foundPhrase.trackId,
phraseKey,
);
if (renderStartStageId != undefined) {
if (renderStartStageId == undefined) {
phrase.state = "PLAYABLE";
} else {
renderStartStageIds.set(phraseKey, renderStartStageId);
phrase.state = "WAITING_TO_BE_RENDERED";
}
Expand Down

0 comments on commit f0df6a6

Please sign in to comment.