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
feat: [0581] カラーセットのキー別一括保存対応 #1309
Conversation
if (g_keyObj[`${_type}${keyCtrlPtn}_1`] !== undefined) { | ||
document.getElementById(`lnk${toCapitalize(_type)}Group`).textContent = | ||
getStgDetailName(`${g_keycons[`${_type}GroupNum`] + 1}`); | ||
const num = g_keycons[`${_type}GroupNum`] === -1 ? g_keycons.groupSelf : g_keycons[`${_type}GroupNum`] + 1; |
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.
Identical blocks of code found in 2 locations. Consider refactoring.
const typeName = toCapitalize(_type); | ||
const num = g_keycons[`${_type}GroupNum`] === -1 ? g_keycons.groupSelf : g_keycons[`${_type}GroupNum`] + 1; |
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.
Identical blocks of code found in 2 locations. Consider refactoring.
Code Climate has analyzed commit bbc3616 and detected 2 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
🔨 変更内容 / Details of Changes
Type1~4を選択している場合に有効で、保存後は
TypeS
という表記に変わります。Default/Type0についてはこれまで通りです。
なお、ColorTypeの設定はこれまで通り作品別に保存されます。
🔖 関連Issue, 変更理由 / Related Issues, Reason for Changes
📷 スクリーンショット / Screenshot
📝 その他コメント / Other Comments
TypeS
が存在しない場合は ColorType =Default
に切り替わります。