Commit f1c4047b authored by Tukz's avatar Tukz
Browse files

Update Battleground.lua

parent 4aa8153f
......@@ -4,7 +4,7 @@ local DataText = T["DataTexts"]
local MyName = UnitName("player")
local format = format
local int = 2
local BGFrame = CreateFrame("Frame", nil, UIParent)
local BGFrame = CreateFrame("Frame", nil, T["Panels"].DataTextLeft)
local Color = {}
function BGFrame:OnEnter()
......@@ -88,7 +88,6 @@ function BGFrame:Enable()
BGFrame:SetTemplate()
BGFrame:SetFrameLevel(4)
BGFrame:SetFrameStrata("BACKGROUND")
BGFrame:SetParent(DataTextLeft)
local Text1 = BGFrame:CreateFontString(nil, "OVERLAY")
Text1:SetFontObject(DataText.Font)
......
  • There is a small issue now with the panel for BG's not scaling anymore with the UI Scale. It suddenly a lot bigger, when reverting to UIParent, the scale works again.

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment