Skip to content

Commit

Permalink
変更漏れがまだあったので修正
Browse files Browse the repository at this point in the history
  • Loading branch information
sigprogramming committed Dec 27, 2024
1 parent 1968035 commit 5082082
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/store/singing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1546,6 +1546,7 @@ export const singingStore = createPartialStore<SingingStoreTypes>({

SET_IS_DRAG: {
mutation(state, { isDrag }: { isDrag: boolean }) {
// FIXME: state.isDragが無くなっているので修正する
state.isDrag = isDrag;
},
async action({ mutations }, { isDrag }) {
Expand Down Expand Up @@ -2781,7 +2782,7 @@ export const singingStore = createPartialStore<SingingStoreTypes>({
await createPromiseThatResolvesWhen(() => {
return !state.nowRendering || state.cancellationOfExportRequested;
});
if (state.cancellationOfAudioExportRequested) {
if (state.cancellationOfExportRequested) {
return { result: "CANCELED", path: "" };
}
}
Expand Down Expand Up @@ -2852,7 +2853,7 @@ export const singingStore = createPartialStore<SingingStoreTypes>({
await createPromiseThatResolvesWhen(() => {
return !state.nowRendering || state.cancellationOfExportRequested;
});
if (state.cancellationOfAudioExportRequested) {
if (state.cancellationOfExportRequested) {
return { result: "CANCELED", path: "" };
}
}
Expand Down

0 comments on commit 5082082

Please sign in to comment.