mirror of
https://github.com/atom/atom.git
synced 2026-02-08 21:55:05 -05:00
Make SelectList handle prefixed move-up and move-down events
This commit is contained in:
@@ -21,8 +21,8 @@ class SelectList extends View
|
||||
|
||||
@miniEditor.getBuffer().on 'change', => @populateList()
|
||||
@miniEditor.on 'focusout', => @cancel() unless @cancelling
|
||||
@on 'move-up', => @selectPreviousItem()
|
||||
@on 'move-down', => @selectNextItem()
|
||||
@on 'core:move-up', => @selectPreviousItem()
|
||||
@on 'core:move-down', => @selectNextItem()
|
||||
@on 'core:confirm', => @confirmSelection()
|
||||
@on 'core:cancel', => @cancel()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user