chat: add option to set maximum number of chat lines

This commit is contained in:
shagu
2024-11-23 23:52:43 +01:00
parent e441795f55
commit 242574c03a
3 changed files with 6 additions and 0 deletions
+4
View File
@@ -359,6 +359,10 @@ pfUI:RegisterModule("chat", "vanilla:tbc", function ()
frame:SetFading(false)
end
if C.chat.global.maxlines ~= "128" then
frame:SetMaxLines(tonumber(C.chat.global.maxlines) or 128)
end
if i == 3 and C.chat.right.enable == "1" then
-- Loot & Spam
local bottompadding = pfUI.panel and pfUI.panel.right:IsShown() and not pfUI_config.position["pfPanelRight"] and panelheight or default_border