mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 12:40:02 +00:00
chat: fix flashing chat tab appearance
This commit is contained in:
+1
-1
@@ -304,7 +304,6 @@ pfUI:RegisterModule("chat", function ()
|
||||
local frame = _G["ChatFrame"..i]
|
||||
local tab = _G["ChatFrame"..i.."Tab"]
|
||||
|
||||
|
||||
if C.chat.global.fadeout == "1" then
|
||||
frame:SetFading(true)
|
||||
frame:SetTimeVisible(tonumber(C.chat.global.fadetime))
|
||||
@@ -357,6 +356,7 @@ pfUI:RegisterModule("chat", function ()
|
||||
_G["ChatFrame" .. i .. "TabMiddle"]:SetAlpha(0)
|
||||
_G["ChatFrame" .. i .. "TabRight"]:SetAlpha(0)
|
||||
_G["ChatFrame" .. i .. "TabFlash"]:SetAlpha(0)
|
||||
_G["ChatFrame" .. i .. "TabFlash"]:SetAllPoints(_G["ChatFrame" .. i .. "TabText"])
|
||||
|
||||
local _, class = UnitClass("player")
|
||||
_G["ChatFrame" .. i .. "TabText"]:SetTextColor(RAID_CLASS_COLORS[class].r + .3 * .5, RAID_CLASS_COLORS[class].g + .3 * .5, RAID_CLASS_COLORS[class].b + .3 * .5, 1)
|
||||
|
||||
Reference in New Issue
Block a user