ingame/map/worldmap.lua:6937 -- GAMEPAD_WORLD_MAP_CHOICE_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_FRAGMENT_SHOWING) then
ZO_WorldMap_SetGamepadKeybindsShown(false)
ZO_WorldMapGamepadInteractKeybind:SetHidden(true)
control.m_keybindState = KEYBIND_STRIP:PushKeybindGroupState()
KEYBIND_STRIP:AddKeybindButtonGroup(control.activeKeybind, control.m_keybindState)
control.list:Activate()
elseif(newState == SCENE_FRAGMENT_HIDDEN) then
control.list:Deactivate()
if control.activeKeybind then
KEYBIND_STRIP:RemoveKeybindButtonGroup(control.activeKeybind, control.m_keybindState)
control.activeKeybind = nil
end
KEYBIND_STRIP:PopKeybindGroupState()
ZO_WorldMap_SetGamepadKeybindsShown(true)
end
end)