fix esc actions
This commit is contained in:
parent
980f03abf6
commit
39987d0c9d
@ -49,7 +49,7 @@ export const setTeamSelect = value => ({ type: 'SET_TEAM_SELECT', value: Array.f
|
||||
export const setTutorial = value => ({ type: 'SET_TUTORIAL', value });
|
||||
export const setTutorialGame = value => ({ type: 'SET_TUTORIAL_GAME', value });
|
||||
|
||||
export const setVboxSelected = value => ({ type: 'SET_VBOX_SELECTED', value: Object.create(value) });
|
||||
export const setVboxSelected = value => ({ type: 'SET_VBOX_SELECTED', value: value });
|
||||
export const setVboxCombiner = value => ({ type: 'SET_VBOX_COMBINER', value });
|
||||
export const setVboxHighlight = value => ({ type: 'SET_VBOX_HIGHLIGHT', value });
|
||||
export const setVboxInfo = value => ({ type: 'SET_VBOX_INFO', value });
|
||||
|
||||
@ -11,6 +11,8 @@ function setupKeys(store) {
|
||||
key('esc', () => store.dispatch(actions.setItemUnequip([])));
|
||||
key('esc', () => store.dispatch(actions.setVboxSelected({ storeSelect: [], stashSelect: [] })));
|
||||
key('esc', () => store.dispatch(actions.setVboxHighlight(null)));
|
||||
key('esc', () => store.dispatch(actions.setVboxCombiner(null)));
|
||||
key('esc', () => store.dispatch(actions.setVboxInfo(null)));
|
||||
key('esc', () => store.dispatch(actions.setMtxActive(null)));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user