Changing frame strata for the talent menus to close #20
Mikeprod [02-12-17 - 16:08]
Changing frame strata for the talent menus to close #20
diff --git a/modules/talent.lua b/modules/talent.lua
index e08f560..a9db5d2 100644
--- a/modules/talent.lua
+++ b/modules/talent.lua
@@ -194,9 +194,11 @@ function TalentModule:CreateFrames()
self.specBar = self.specBar or CreateFrame('STATUSBAR', nil, self.specFrame)
self.specBarBg = self.specBarBg or self.specBar:CreateTexture(nil, 'BACKGROUND')
- self.specPopup = self.specPopup or CreateFrame('BUTTON', nil, self.specFrame)
+ self.specPopup = self.specPopup or CreateFrame('BUTTON', "SpecPopup", self.specFrame)
+ self.specPopup:SetFrameStrata("TOOLTIP")
self.specPopupTexture = self.specPopupTexture or self.specPopup:CreateTexture(nil, 'BACKGROUND')
- self.lootSpecPopup = self.lootSpecPopup or CreateFrame('BUTTON', nil, self.specFrame)
+ self.lootSpecPopup = self.lootSpecPopup or CreateFrame('BUTTON', "LootPopup", self.specFrame)
+ self.lootSpecPopup:SetFrameStrata("TOOLTIP")
self.lootSpecPopupTexture = self.lootSpecPopupTexture or self.lootSpecPopup:CreateTexture(nil, 'BACKGROUND')
self:CreateSpecPopup()
self:CreateLootSpecPopup()