more progress on the new filter tab, removed views

This commit is contained in:
Manuel Simon Hirsig
2016-01-29 23:23:47 +01:00
parent 473a66d3cc
commit 006b7a0582
12 changed files with 207 additions and 656 deletions
+5 -3
View File
@@ -165,7 +165,7 @@ function public.completor(edit_box)
return self
end
function public.selector(edit_box)
function public.selector(edit_box, on_click)
local self = {}
local suggestions = {}
@@ -183,7 +183,9 @@ function public.selector(edit_box)
notCheckable = true,
func = function()
index = this.value
AuxItemSearchFrameItemItemInputBox:ClearFocus()
if on_click then
on_click()
end
end,
}
end
@@ -233,7 +235,7 @@ function public.selector(edit_box)
suggestions = {}
else
suggestions = generate_suggestions(input)
UIDropDownMenu_Initialize(AuxCompletionDropDown, function() fill_dropdown() end)
UIDropDownMenu_Initialize(AuxCompletionDropDown, fill_dropdown)
end
index = 1