refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-09-06 21:53:12 +02:00
parent f51d99134e
commit 8cb0b9bf3d
5 changed files with 112 additions and 145 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ function LOAD()
aux_background:SetAllPoints(DropDownList1Backdrop)
blizzard_backdrop = DropDownList1Backdrop:GetBackdrop()
hook('ToggleDropDownMenu', function(...) auto[arg] = true
local ret = temp-A0(orig.ToggleDropDownMenu(unpack(arg)))
local ret = temp-A(orig.ToggleDropDownMenu(unpack(arg)))
local dropdown = _G[arg[4] or ''] or this:GetParent()
if strfind(dropdown:GetName() or '', '^aux_frame%d+$') then
set_aux_dropdown_style(dropdown)