ingame/map/worldmap.lua:2489 -- zoomControl:RegisterForEvent(EVENT_GAMEPAD_PREFERRED_MODE_CHANGED, function(eventId, isGamepadPreferred)
self:SetAllowPanPastMapEdge(isGamepadPreferred)
local modeData = WORLD_MAP_MANAGER:GetModeData()
if ZO_WorldMap and modeData then
--Refresh the amount of border scrolling space since it depends if we're using gamepad or not
ResizeAndReanchorMap()
end
end)