minor dropdown changes
This commit is contained in:
@@ -72,6 +72,7 @@ do
|
|||||||
local index
|
local index
|
||||||
function get_active_tab() return tab_info[index] end
|
function get_active_tab() return tab_info[index] end
|
||||||
function on_tab_click(i)
|
function on_tab_click(i)
|
||||||
|
CloseDropDownMenus()
|
||||||
do (index and active_tab.CLOSE or nop)() end
|
do (index and active_tab.CLOSE or nop)() end
|
||||||
index = i
|
index = i
|
||||||
do (index and active_tab.OPEN or nop)() end
|
do (index and active_tab.OPEN or nop)() end
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ function USE_ITEM(item_info)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function set_subtab(tab)
|
function set_subtab(tab)
|
||||||
|
CloseDropDownMenus()
|
||||||
search_results_button:UnlockHighlight()
|
search_results_button:UnlockHighlight()
|
||||||
saved_searches_button:UnlockHighlight()
|
saved_searches_button:UnlockHighlight()
|
||||||
new_filter_button:UnlockHighlight()
|
new_filter_button:UnlockHighlight()
|
||||||
|
|||||||
Reference in New Issue
Block a user