Skip to content
12 changes: 12 additions & 0 deletions EllesmereUIMinimap/EUI_Minimap_Options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,18 @@ initFrame:SetScript("OnEvent", function(self)
EllesmereUI.RegisterWidgetRefresh(cbDDRefresh)
end

-- Friends Online: per-section row cap (0 = no cap)
_, h = W:DualRow(parent, y,
{ type="slider", text="Friends List Cap", min=0, max=50, step=1,
tooltip="Max rows shown per section in the Friends Online tooltip. 0 = no cap.",
getValue=function() local m = MinimapDB(); return m and m.friendsMaxRows or 0 end,
setValue=function(v)
local m = MinimapDB(); if not m then return end
m.friendsMaxRows = v
end },
{ type="label", text="" }
); y = y - h

y = y - 10

-- EXTRAS section header
Expand Down
Loading