Skip to content

Commit

Permalink
Add: 読み込みが終わったらRENDERする
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed May 3, 2024
1 parent 14e089f commit 6d57503
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/store/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,8 @@ export const projectStore = createPartialStore<ProjectStoreTypes>({
context.commit("SET_PROJECT_FILEPATH", { filePath });
context.commit("SET_SAVED_LAST_COMMAND_UNIX_MILLISEC", null);
context.commit("CLEAR_COMMANDS");

context.dispatch("RENDER");
return true;
} catch (err) {
window.backend.logError(err);
Expand Down

0 comments on commit 6d57503

Please sign in to comment.