mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 09:56:03 +00:00
unitframes: use proper parent for buff icons
This commit is contained in:
+1
-1
@@ -2103,7 +2103,7 @@ function pfUI.uf:AddIcon(frame, pos, icon, timeleft, stacks)
|
||||
frame.icon = frame.icon or CreateFrame("Frame", nil, frame)
|
||||
|
||||
if not frame.icon[pos] then
|
||||
frame.icon[pos] = CreateFrame("Frame", frame.icon)
|
||||
frame.icon[pos] = CreateFrame("Frame", nil, frame.icon)
|
||||
frame.icon[pos]:SetParent(frame)
|
||||
frame.icon[pos].tex = frame.icon[pos]:CreateTexture("OVERLAY")
|
||||
frame.icon[pos].tex:SetAllPoints(frame.icon[pos])
|
||||
|
||||
Reference in New Issue
Block a user