Quantcast

Replace :SetToplevel() per haste's advice

Adrian L Lange [09-18-12 - 19:36]
Replace :SetToplevel() per haste's advice
Filename
oUF_P3lim.lua
diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua
index 88c40b9..125e609 100644
--- a/oUF_P3lim.lua
+++ b/oUF_P3lim.lua
@@ -373,7 +373,7 @@ local function Shared(self, unit)
 		Castbar:SetAllPoints(Health)
 		Castbar:SetStatusBarTexture(TEXTURE)
 		Castbar:SetStatusBarColor(0, 0, 0, 0)
-		Castbar:SetToplevel(true)
+		Castbar:SetFrameStrata('HIGH')
 		self.Castbar = Castbar

 		local Spark = Castbar:CreateTexture(nil, 'OVERLAY')