bubbles: correct chat bubble sizes

This commit is contained in:
shagu
2018-01-03 14:27:14 +01:00
parent ff1e949f30
commit f1f7965e83
+3 -2
View File
@@ -48,10 +48,11 @@ pfUI:RegisterModule("bubbles", function ()
f.frame.text:SetAllPoints(f.frame)
CreateBackdrop(f.frame, nil, nil, alpha)
f.frame.backdrop:SetPoint("TOPLEFT", f, "TOPLEFT", 0, -10)
f.frame.backdrop:SetPoint("BOTTOMRIGHT", f, "BOTTOMRIGHT", 0, 10)
f.frame.backdrop:SetPoint("TOPLEFT", f, "TOPLEFT", -10, -10)
f.frame.backdrop:SetPoint("BOTTOMRIGHT", f, "BOTTOMRIGHT", 10, 10)
f.text:Hide()
f.text:SetFont(pfUI.font_default, tonumber(C.global.font_size) * UIParent:GetScale(), "OUTLINE")
local r,g,b,a = f.text:GetTextColor()
f.frame.text:SetText(f.text:GetText())
f.frame.text:SetTextColor(r,g,b,a)