chat: add option to disable chat fadeout

This commit is contained in:
shagu
2017-01-15 20:00:34 +01:00
parent b100109814
commit af0a8b0e8f
3 changed files with 10 additions and 2 deletions
+7 -1
View File
@@ -227,7 +227,13 @@ pfUI:RegisterModule("chat", function ()
local frame = getglobal("ChatFrame"..i)
local tab = getglobal("ChatFrame"..i.."Tab")
frame:SetTimeVisible(tonumber(pfUI_config.chat.global.fadetime))
if pfUI_config.chat.global.fadeout == "1" then
frame:SetFading(true)
frame:SetTimeVisible(tonumber(pfUI_config.chat.global.fadetime))
else
frame:SetFading(false)
end
if i == 3 and pfUI_config.chat.right.enable == "1" then
tab:SetParent(pfUI.chat.right.panelTop)