Add up/down event support for keybindings view

This commit is contained in:
Kevin Sawicki
2012-10-10 17:41:14 -07:00
parent 1610b45bcb
commit b3ce062be9

View File

@@ -13,6 +13,10 @@ class KeybindingsView extends View
initialize: (@rootView) ->
@rootView.on 'keybindings-view:attach', => @attach()
@on 'keybindings-view:detach', => @detach()
@on 'core:page-up', => @pageUp()
@on 'core:page-down', => @pageDown()
@on 'core:move-to-top', => @scrollToTop()
@on 'core:move-to-bottom', => @scrollToBottom()
attach: ->
@keybindingList.empty()