From ff1b7a56b44461eab435258116af0c71b281b6c3 Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 27 Feb 2017 20:22:48 +0100 Subject: [PATCH] unitframes: fix backdrop function calls --- api/unitframes.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/unitframes.lua b/api/unitframes.lua index 61e99563..ced1db4d 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -22,7 +22,7 @@ function pfUI.uf:AddIcon(frame, pos, icon) end end frame.icon[pos].tex:SetTexture(icon) - pfUI.api:CreateBackdrop(frame.icon[pos], nil, true) + pfUI.api.CreateBackdrop(frame.icon[pos], nil, true) frame.icon[pos]:Show() end @@ -479,7 +479,7 @@ function pfUI.uf:CreatePortrait(frame, pos, spacing) frame.power:ClearAllPoints() frame.power:SetPoint("BOTTOMRIGHT", frame, "BOTTOMRIGHT", 0, 0) - pfUI.api:CreateBackdrop(frame.portrait) + pfUI.api.CreateBackdrop(frame.portrait) elseif pos == "right" then frame.portrait:SetWidth(frame:GetHeight()) frame.portrait:SetHeight(frame:GetHeight()) @@ -491,7 +491,7 @@ function pfUI.uf:CreatePortrait(frame, pos, spacing) frame.power:ClearAllPoints() frame.power:SetPoint("BOTTOMLEFT", frame, "BOTTOMLEFT", 0, 0) - pfUI.api:CreateBackdrop(frame.portrait) + pfUI.api.CreateBackdrop(frame.portrait) end end