-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
デフォルトプリセット周りのリファクタ #1274
デフォルトプリセット周りのリファクタ #1274
Conversation
レビューが @y-chan さんに割り当たっていますが、以前頂いたPRの記憶がある僕が担当したほうが進めやすそうなのでアサイン変えさせていただこうと思います・・・! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
全体的にLGTM寄りです!!
細かい点ですがいくつかコメントさせていただきました 🙇♂️
Co-authored-by: Hiroshiba <[email protected]>
…/voicevox into issue1247/refactor-default-preset
一通り対応できたので review re-request しておきます!よろしくお願いします🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!!!
リファクタリングありがとうございました、健全性が上がったと思います!!!
Co-authored-by: Hiroshiba <[email protected]>
リファクタリングで挙動が変わってないはず。 |
内容
で後回しにしたリファクタを行いました。
以下は上記issueのコピペです
問題一覧
determineNextPresetKey
の引数を整理する補足
引数で渡したaudioItemを直接書き換えていた問題 #1228 (comment) は、「audioItemと presetItemを取ってプリセット適用済みの新しいaudioItemを返す関数」に切り出すことで解決しました。
該当コミット: 92bf9ad
関連 Issue
close #1247