Skip to content

Commit

Permalink
一旦コミット
Browse files Browse the repository at this point in the history
  • Loading branch information
sigprogramming committed Aug 4, 2024
1 parent 6cc30fd commit 435635b
Show file tree
Hide file tree
Showing 4 changed files with 229 additions and 97 deletions.
1 change: 1 addition & 0 deletions src/components/Sing/SingEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ onetimeWatch(
await store.dispatch("SET_VOLUME", { volume: 0.6 });
await store.dispatch("SET_PLAYHEAD_POSITION", { position: 0 });
await store.dispatch("SYNC_TRACKS_AND_TRACK_CHANNEL_STRIPS");
isCompletedInitialStartup.value = true;
return "unwatch";
Expand Down
2 changes: 2 additions & 0 deletions src/store/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export const commandStore = createPartialStore<CommandStoreTypes>({
if (editor === "song") {
// TODO: 存在しないノートのみ選択解除、あるいはSELECTED_NOTE_IDS getterを作る
mutations.DESELECT_ALL_NOTES();
actions.SYNC_TRACKS_AND_TRACK_CHANNEL_STRIPS();
actions.RENDER();
}
},
Expand All @@ -129,6 +130,7 @@ export const commandStore = createPartialStore<CommandStoreTypes>({
if (editor === "song") {
// TODO: 存在しないノートのみ選択解除、あるいはSELECTED_NOTE_IDS getterを作る
mutations.DESELECT_ALL_NOTES();
actions.SYNC_TRACKS_AND_TRACK_CHANNEL_STRIPS();
actions.RENDER();
}
},
Expand Down
Loading

0 comments on commit 435635b

Please sign in to comment.