From 6546accaf3daa4c57adb5509653bc71111decc5b Mon Sep 17 00:00:00 2001 From: shagu Date: Fri, 28 Mar 2025 21:28:37 +0100 Subject: [PATCH] unitframes: use proper parent for buff icons --- api/unitframes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/unitframes.lua b/api/unitframes.lua index 426f4a34..b28d63a5 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -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])