refactoring
This commit is contained in:
@@ -524,7 +524,7 @@ do
|
||||
)
|
||||
end
|
||||
|
||||
function public.on_update()
|
||||
function private.on_update()
|
||||
if state == IDLE or state == SEARCHING then
|
||||
m.buyout_button:Disable()
|
||||
m.bid_button:Disable()
|
||||
|
||||
@@ -2,6 +2,7 @@ Aux.search_tab.FRAMES(function(m, public, private)
|
||||
private.frame = CreateFrame('Frame', nil, AuxFrame)
|
||||
m.frame:SetAllPoints()
|
||||
m.frame:SetScript('OnUpdate', m.on_update)
|
||||
m.frame:Hide()
|
||||
|
||||
m.frame.filter = CreateFrame('Frame', nil, m.frame, 'AuxFrameBoxTemplate')
|
||||
m.frame.filter:SetAllPoints(AuxFrameContent)
|
||||
|
||||
Reference in New Issue
Block a user