ingame/map/gamepad/worldmapfilters_gamepad.lua:233 -- GAMEPAD_WORLD_MAP_FILTERS_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.currentPanel.list:Activate()
self.currentPanel:BuildControls()
self:SelectKeybind()
elseif newState == SCENE_HIDDEN then
self:SwitchToKeybind(nil)
self.currentPanel:HideDropDown()
self.currentPanel.list:Deactivate()
end
end)