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