unitframes: change layer index

This commit is contained in:
shagu
2016-12-10 17:25:51 +01:00
parent 6cb5a52538
commit b3576ea01d
4 changed files with 4 additions and 2 deletions
+1
View File
@@ -16,6 +16,7 @@ pfUI:RegisterModule("target", function ()
ComboFrame:UnregisterAllEvents()
pfUI.uf.target = CreateFrame("Button","pfTarget",UIParent)
pfUI.uf.target:SetFrameStrata("LOW")
pfUI.uf.target:Hide()
pfUI.uf.target:SetWidth(pfUI_config.unitframes.target.width)
pfUI.uf.target:SetHeight(pfUI_config.unitframes.target.height + pfUI_config.unitframes.target.pheight + 2*default_border + pfUI_config.unitframes.target.pspace)