Quantcast

Fix background frames resizing error

Darthpred [12-10-14 - 05:31]
Fix background frames resizing error
Filename
ElvUI_SLE/modules/backgrounds.lua
diff --git a/ElvUI_SLE/modules/backgrounds.lua b/ElvUI_SLE/modules/backgrounds.lua
index 938cc62..39db70c 100644
--- a/ElvUI_SLE/modules/backgrounds.lua
+++ b/ElvUI_SLE/modules/backgrounds.lua
@@ -37,7 +37,7 @@ local function CreateFrames()
 end

 --Frames Size
-local function FramesSize()
+function BG:FramesSize()
 	if not BGb then return end
 	local db = E.db.sle.backgrounds
 	for _,v in pairs(Fr) do
@@ -85,7 +85,7 @@ function BG:UpdateFrames()
 		v[1]:SetTemplate(db[v[2]].template, true)
 		v[1]:SetAlpha(db[v[2]].alpha)
 	end
-	FramesSize()
+	BG:FramesSize()
 	BG:FramesVisibility()
     UpdateTex()
 end