Add alternatives for scroll actions to context map

This commit is contained in:
Suhas Karanth 2019-05-07 12:25:30 +05:30 committed by Jesse Duffield
parent 97f060d38d
commit e38d9d5f22
5 changed files with 9 additions and 7 deletions

View file

@ -99,7 +99,7 @@ func getBindingSections(mApp *app.App) []*bindingSection {
}
func addBinding(title string, bindingSections []*bindingSection, binding *gui.Binding) []*bindingSection {
if binding.Description == "" {
if binding.Description == "" && binding.Alternative == "" {
return bindingSections
}