Quantcast

Fix ticket 166 - Option to add framestrata please

Johnny C. Lam [07-12-13 - 07:44]
Fix ticket 166 - Option to add framestrata please

Set the Ovale frame strata to "MEDIUM", which is the same strata as
UIParent frame.  This should prevent Ovale from slipping behind UI
elements that depict the environment.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@958 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
OvaleFrame.lua
diff --git a/OvaleFrame.lua b/OvaleFrame.lua
index 66b9fb0..7b2c9be 100644
--- a/OvaleFrame.lua
+++ b/OvaleFrame.lua
@@ -464,7 +464,7 @@ do
 			frame:EnableMouse()
 		end
 		frame:SetMovable(true)
-		frame:SetFrameStrata("BACKGROUND")
+		frame:SetFrameStrata("MEDIUM")
 		frame:SetScript("OnMouseDown", frameOnMouseDown)
 		frame:SetScript("OnMouseUp", frameOnMouseUp)
 		frame:SetScript("OnEnter", frameOnEnter)