View Single Post
08-23-17, 11:03 AM   #2
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
You cant do that stuff since it'll taint the whole UI.

Try this:
Lua Code:
  1. if DebuffButton_UpdateAnchors then
  2.     hooksecurefunc("DebuffButton_UpdateAnchors", function()
  3.         local d = _G.DebuffButton1
  4.         if d then
  5.             d:SetMovable(true)
  6.             d:SetUserPlaced(true)
  7.             d:ClearAllPoints()
  8.             d:SetPoint("TOP", PlayerFrame, "BOTTOM", 98, -10)
  9.             d:SetMovable(false)
  10.         end
  11.     end)
  12. end
  Reply With Quote