library change

This commit is contained in:
Manuel Simon Hirsig
2016-11-08 06:07:52 +01:00
parent 18300e3d1b
commit 14a9ba3ef8
9 changed files with 86 additions and 94 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ function LOAD()
aux_background:SetAllPoints(DropDownList1Backdrop)
blizzard_backdrop = DropDownList1Backdrop:GetBackdrop()
hook('ToggleDropDownMenu', function(...)
auto_release(arg, true)
temp(arg)
local ret = temp-A(orig.ToggleDropDownMenu(unpack(arg)))
local dropdown = _G[arg[4] or ''] or this:GetParent()
if strfind(dropdown:GetName() or '', '^AuxFrame%d+$') then
@@ -110,7 +110,7 @@ do
return orig()
end)
M.menu = vararg-function(arg)
auto_release(arg, false)
static(arg)
structure = arg
local x, y = GetCursorPosition()
menu:ClearAllPoints()