Remember equipment drawer tab (#10458)

* Remember equipment drawer tab

* Split local setting value constants
This commit is contained in:
Dexx Mandele
2018-06-27 19:08:21 +02:00
committed by Matteo Pagliazzi
parent d549fea4ed
commit c91da86b89
3 changed files with 38 additions and 20 deletions

View File

@@ -3,11 +3,16 @@ const CONSTANTS = {
keyConstants: {
SPELL_DRAWER_STATE: 'spell-drawer-state',
EQUIPMENT_DRAWER_STATE: 'equipment-drawer-state',
CURRENT_EQUIPMENT_DRAWER_TAB: 'current-equipment-drawer-tab',
},
valueConstants: {
drawerStateValues: {
DRAWER_CLOSED: 'drawer-closed',
DRAWER_OPEN: 'drawer-open',
},
equipmentDrawerTabValues: {
COSTUME_TAB: 'costume-tab',
EQUIPMENT_TAB: 'equipment-tab',
},
};
function setLocalSetting (key, value) {