Skip to content

Commit

Permalink
Merge pull request #3 from Hiroshiba/hiho-counter-pr-0697dc64
Browse files Browse the repository at this point in the history
VOICEVOX#2355 の変更提案プルリクエスト
  • Loading branch information
X-20A authored Nov 18, 2024
2 parents 98ca600 + 0697dc6 commit 0308c3e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/components/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,11 @@ watchEffect(() => {
});
// エディタの切り替えを監視してショートカットキーの設定を変更する
watch(
() => store.state.openedEditor,
async (openedEditor) => {
if (openedEditor != undefined) {
hotkeyManager.onEditorChange(openedEditor);
}
watchEffect(
() => {
hotkeyManager.onEditorChange(openedEditor.value);
},
{ flush: "post" },
);
// テーマの変更を監視してCSS変数を変更する
Expand Down

0 comments on commit 0308c3e

Please sign in to comment.