Skip to content
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

[0453/rev-shortcut2] main側ではbtnAddFuncを明示的に使わないよう修正 #1121

Merged
merged 1 commit into from Sep 24, 2021

Conversation

cwtickle
Copy link
Owner

@cwtickle cwtickle commented Sep 24, 2021

🔨 変更内容 / Details of Changes

  1. PR [0452/rev-shortcut] ReverseのショートカットをRキー、Scrollのショートカットを上下キーに変更 #1120 の修正で、main側でbtnAddFuncを使わず、別引数にて実現するよう変更しました。

🔖 関連Issue, 変更理由 / Related Issues, Reason for Changes

  1. カスタム側でbtnAddFuncを使って処理追加するケースに対応するため。

📷 スクリーンショット / Screenshot

📝 その他コメント / Other Comments

  • createGeneralSetting に引数を追加する方法で実現しています。
    これは共用関数であり、またショートカット文字を表示するための条件の中で
    指定したidの形式がlnk_____Rの形式であるという制約があるため、このような対処にしています。
    本来はaddRFuncがあれば十分ですが、今後左側カーソルの処理を入れないとも限らないため、
    今回は使用しないものの、addLFuncを追加しています。
  • 過去バージョン適用時、同様の考慮が必要なためマークを入れています。

@codeclimate
Copy link

codeclimate bot commented Sep 24, 2021

Code Climate has analyzed commit 353a6e6 and detected 0 issues on this pull request.

View more on Code Climate.

@cwtickle cwtickle added the need-to-fix-supportVer. サポートバージョンへの修正が必要な場合にラベル付け label Sep 24, 2021
@cwtickle cwtickle merged commit cdb8b57 into develop Sep 24, 2021
@cwtickle cwtickle deleted the feature/0453-rev-shortcut2 branch September 25, 2021 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
func:Settings need-to-fix-supportVer. サポートバージョンへの修正が必要な場合にラベル付け
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant