bubbles: add option to hide borders

This commit is contained in:
Pizzahawaiii
2022-12-26 10:34:38 +01:00
committed by GitHub
parent f8a25a4fbd
commit 2cae10c82a
3 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -27,7 +27,8 @@ pfUI:RegisterModule("bubbles", "vanilla:tbc", function ()
local r,g,b,a = f.text:GetTextColor()
f.frame.text:SetText(f.text:GetText())
f.frame.text:SetTextColor(r,g,b,a)
f.frame.backdrop:SetBackdropBorderColor(r,g,b,a)
local border_alpha = C.chat.bubbles.borders == "1" and a or 0
f.frame.backdrop:SetBackdropBorderColor(r,g,b,border_alpha)
end
function pfUI.bubbles:ScanBubbles()