fix(keymap): the remove and go to prev/next keys were reversed

Fixes #924
This commit is contained in:
Evan Morikawa 2016-01-22 15:30:00 -08:00
parent eb3223580b
commit 5057ad3d20

View file

@ -212,9 +212,9 @@ class ThreadList extends React.Component
'application:mark-as-unread': @_onMarkUnreadItem
'application:mark-as-read': @_onMarkReadItem
'application:remove-and-previous': =>
@_shift(offset: 1, afterRunning: @_onRemoveFromView)
'application:remove-and-next': =>
@_shift(offset: -1, afterRunning: @_onRemoveFromView)
'application:remove-and-next': =>
@_shift(offset: 1, afterRunning: @_onRemoveFromView)
render: ->
<KeyCommandsRegion globalHandlers={@_keymapHandlers()}