Initial commit: Chatter v1.2.11 (Curse package)

This commit is contained in:
2026-05-22 22:11:46 +02:00
commit 77ee87198c
49 changed files with 9519 additions and 0 deletions
+42
View File
@@ -0,0 +1,42 @@
local mod = Chatter:NewModule("Tiny Chat")
local L = LibStub("AceLocale-3.0"):GetLocale("Chatter")
mod.modName = L["Tiny Chat"]
function mod:Info()
return L["Allows you to make the chat frames much smaller than usual."]
end
function mod:Decorate(frame)
frame:SetMinResize(50, 20)
frame:SetMaxResize(5000, 5000)
end
function mod:OnEnable()
for i = 1, NUM_CHAT_WINDOWS do
local cf = _G["ChatFrame" .. i]
cf:SetMinResize(50, 20)
cf:SetMaxResize(5000, 5000)
end
for index,name in ipairs(self.TempChatFrames) do
local cf = _G[name]
if cf then
cf:SetMinResize(50, 20)
cf:SetMaxResize(5000, 5000)
end
end
end
function mod:OnDisable()
for i = 1, NUM_CHAT_WINDOWS do
local cf = _G["ChatFrame" .. i]
cf:SetMinResize(296, 75)
cf:SetMaxResize(608, 400)
end
for index,name in ipairs(self.TempChatFrames) do
local cf = _G[name]
if cf then
cf:SetMinResize(296, 75)
cf:SetMaxResize(608, 400)
end
end
end