Skip to content

Commit

Permalink
fix: refresh control center after previewer change
Browse files Browse the repository at this point in the history
  • Loading branch information
purocean committed May 6, 2024
1 parent b1bb87a commit 1b6c462
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/startup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ store.watch(() => [
store.state.syncScroll,
store.state.currentRepo,
store.state.editor,
store.state.previewer,
], () => {
ctx.workbench.ControlCenter.refresh()
ctx.statusBar.refreshMenu()
Expand Down

0 comments on commit 1b6c462

Please sign in to comment.