Quantcast

Why call 4 functions when 1 is enough

Darthpred [11-09-12 - 11:54]
Why call 4 functions when 1 is enough
Filename
ElvUI_SLE/modules/backgrounds/backgrounds.lua
diff --git a/ElvUI_SLE/modules/backgrounds/backgrounds.lua b/ElvUI_SLE/modules/backgrounds/backgrounds.lua
index e9844aa..949e113 100644
--- a/ElvUI_SLE/modules/backgrounds/backgrounds.lua
+++ b/ElvUI_SLE/modules/backgrounds/backgrounds.lua
@@ -157,11 +157,8 @@ function BG:RegisterHide()
 end

 function BG:Initialize()
-	BG:FramesPositions()
-	BG:FramesSize()
 	BG:FramesCreate()
-	BG:FramesVisibility()
-	BG:UpdateTex()
+	BG:UpdateFrames()
 	BG:RegisterHide()
 end