green_t refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-31 04:09:34 +02:00
parent 02952ba91a
commit 27e592bead
10 changed files with 65 additions and 65 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ function LOAD()
aux_background:SetAllPoints(DropDownList1Backdrop)
blizzard_backdrop = DropDownList1Backdrop:GetBackdrop()
hook('ToggleDropDownMenu', function(...) temp=arg
local ret = {orig.ToggleDropDownMenu(unpack(arg)) }
local ret = temp-ret(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)
@@ -290,7 +290,7 @@ do
local self = {
_frame = parent,
_orientation = orientation,
_tabs = {},
_tabs = t,
}
return setmetatable(self, mt)
end