mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-25 17:16:02 +00:00
unitframes: remove ttarget portrait workaround
This commit is contained in:
@@ -344,13 +344,6 @@ function pfUI.uf:CreatePortrait(frame, pos, spacing)
|
||||
pfUI.uf:UpdatePortrait()
|
||||
end)
|
||||
|
||||
if unitstr == "targettarget" then
|
||||
frame.portrait:SetScript("OnUpdate", function()
|
||||
if not this.tick or this.tick < GetTime() then this.tick = GetTime() + 1 else return end
|
||||
pfUI.uf:UpdatePortrait()
|
||||
end)
|
||||
end
|
||||
|
||||
if pos == "bar" then
|
||||
frame.portrait:SetParent(frame.hp.bar)
|
||||
frame.portrait:SetAllPoints(frame.hp.bar)
|
||||
|
||||
Reference in New Issue
Block a user