mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 02:16:02 +00:00
unitframes: change layer index
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user