refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-09-06 07:43:37 +02:00
parent 00a242e0e2
commit d686b6af59
12 changed files with 71 additions and 74 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ function LOAD()
aux_background:SetTexture(color.content.background())
aux_background:SetAllPoints(DropDownList1Backdrop)
blizzard_backdrop = DropDownList1Backdrop:GetBackdrop()
hook('ToggleDropDownMenu', function(...) temp=arg
hook('ToggleDropDownMenu', function(...) auto[arg] = true
local ret = temp-A0(orig.ToggleDropDownMenu(unpack(arg)))
local dropdown = _G[arg[4] or ''] or this:GetParent()
if strfind(dropdown:GetName() or '', '^aux_frame%d+$') then