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 -1
View File
@@ -8,7 +8,7 @@ pfUI:RegisterModule("pet", function ()
end
pfUI.uf.pet = CreateFrame("Button","pfPet",UIParent)
pfUI.uf.pet:SetFrameStrata("LOW")
pfUI.uf.pet:SetWidth(100)
pfUI.uf.pet:SetHeight(20 + 2*default_border + pfUI_config.unitframes.pet.pspace)
pfUI.uf.pet:ClearAllPoints()
+1
View File
@@ -11,6 +11,7 @@ pfUI:RegisterModule("player", function ()
PlayerFrame:UnregisterAllEvents()
pfUI.uf.player = CreateFrame("Button","pfPlayer",UIParent)
pfUI.uf.player:SetFrameStrata("LOW")
pfUI.uf.player:SetWidth(pfUI_config.unitframes.player.width)
pfUI.uf.player:SetHeight(pfUI_config.unitframes.player.height + pfUI_config.unitframes.player.pheight + 2*default_border + pfUI_config.unitframes.player.pspace)
pfUI.uf.player:SetPoint("BOTTOMRIGHT", UIParent, "BOTTOM", -75, 125)
+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)
+1 -1
View File
@@ -17,7 +17,7 @@ pfUI:RegisterModule("targettarget", function ()
end)
pfUI.uf.targettarget = CreateFrame("Button","pfTargetTarget",UIParent)
pfUI.uf.targettarget:SetFrameStrata("LOW")
pfUI.uf.targettarget:SetWidth(100)
pfUI.uf.targettarget:SetHeight(20 + 2*default_border + pfUI_config.unitframes.ttarget.pspace)
pfUI.uf.targettarget:SetPoint("BOTTOM", UIParent , "BOTTOM", 0, 125)