mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 19:19:59 +00:00
bubbles: add option to hide borders
This commit is contained in:
+2
-1
@@ -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()
|
||||
|
||||
@@ -2167,6 +2167,7 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
|
||||
CreateConfig(nil, T["Mousewheel Scroll Speed"], C.chat.global, "scrollspeed")
|
||||
CreateConfig(nil, T["Enable Chat Bubbles"], "CVAR", "chatBubbles", "checkbox")
|
||||
CreateConfig(nil, T["Enable Party Chat Bubbles"], "CVAR", "chatBubblesParty", "checkbox")
|
||||
CreateConfig(nil, T["Enable Chat Bubble Borders"], C.chat.bubbles, "borders", "checkbox")
|
||||
CreateConfig(nil, T["Chat Bubble Transparency"], C.chat.bubbles, "alpha")
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user