Skip to content

Commit

Permalink
Fix: 辞書に単語新規登録時にプライオリティが設定されない不具合を修正 (#909)
Browse files Browse the repository at this point in the history
fix: 辞書に単語新規登録時にプライオリティが設定されない不具合を修正
  • Loading branch information
kantas-spike authored and Hiroshiba committed Aug 21, 2022
1 parent bd4c6f9 commit 9baa22a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/store/dictionary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const dictionaryStore: VoiceVoxStoreOptions<

ADD_WORD: async (
{ state, dispatch },
{ surface, pronunciation, accentType }
{ surface, pronunciation, accentType, priority }
) => {
const engineId: string | undefined = state.engineIds[0]; // TODO: 複数エンジン対応
if (engineId === undefined)
Expand All @@ -57,6 +57,7 @@ export const dictionaryStore: VoiceVoxStoreOptions<
surface,
pronunciation,
accentType,
priority,
})
);
},
Expand Down

0 comments on commit 9baa22a

Please sign in to comment.