mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-22 20:10:50 +00:00
unitframes: fix debuff icon placement
This commit is contained in:
+1
-1
@@ -436,7 +436,7 @@ pfUI:RegisterModule("player", function ()
|
|||||||
|
|
||||||
|
|
||||||
pfUI.uf.player.debuff.debuffs[i]:SetPoint("BOTTOMLEFT", pfUI.uf.player, "TOPLEFT",
|
pfUI.uf.player.debuff.debuffs[i]:SetPoint("BOTTOMLEFT", pfUI.uf.player, "TOPLEFT",
|
||||||
(i-1-row)*((2*default_border) + pfUI_config.unitframes.debuff_size + 1),
|
(i-1-8*row)*((2*default_border) + pfUI_config.unitframes.debuff_size + 1),
|
||||||
(top)*((2*default_border) + pfUI_config.unitframes.buff_size + 1) +
|
(top)*((2*default_border) + pfUI_config.unitframes.buff_size + 1) +
|
||||||
(row)*((2*default_border) + pfUI_config.unitframes.debuff_size + 1) + (2*default_border + 1))
|
(row)*((2*default_border) + pfUI_config.unitframes.debuff_size + 1) + (2*default_border + 1))
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -457,9 +457,9 @@ pfUI:RegisterModule("target", function ()
|
|||||||
if pfUI.uf.target.buff.buffs[9]:IsShown() then top = top + 1 end
|
if pfUI.uf.target.buff.buffs[9]:IsShown() then top = top + 1 end
|
||||||
|
|
||||||
pfUI.uf.target.debuff.debuffs[i]:SetPoint("BOTTOMLEFT", pfUI.uf.target, "TOPLEFT",
|
pfUI.uf.target.debuff.debuffs[i]:SetPoint("BOTTOMLEFT", pfUI.uf.target, "TOPLEFT",
|
||||||
(i-1-row)*((2*default_border) + pfUI_config.unitframes.debuff_size + 1),
|
(i-1-8*row)*((2*default_border) + pfUI_config.unitframes.debuff_size + 1),
|
||||||
(top)*((2*default_border) + pfUI_config.unitframes.buff_size + 1) +
|
(top)*((2*default_border) + pfUI_config.unitframes.buff_size + 1) +
|
||||||
(row)*((2*default_border) + pfUI_config.unitframes.debuff_size + 1) + (2*default_border + 1))
|
(row)*((2*default_border) + pfUI_config.unitframes.debuff_size + 1) + (2*default_border + 1))
|
||||||
|
|
||||||
local texture, stacks = UnitDebuff("target",i)
|
local texture, stacks = UnitDebuff("target",i)
|
||||||
pfUI.utils:CreateBackdrop(pfUI.uf.target.debuff.debuffs[i], default_border)
|
pfUI.utils:CreateBackdrop(pfUI.uf.target.debuff.debuffs[i], default_border)
|
||||||
|
|||||||
Reference in New Issue
Block a user