diff --git a/panels/post/frames.lua b/panels/post/frames.lua index 552426f..c453692 100644 --- a/panels/post/frames.lua +++ b/panels/post/frames.lua @@ -16,12 +16,18 @@ function Aux.post_frame.create_frames(private, public) end ClearCursor() end) + local highlight = AuxPostParametersItem:CreateTexture() + highlight:SetAllPoints(AuxPostParametersItem) + highlight:Hide() + highlight:SetTexture(1, .9, .9, .1) AuxPostParametersItem:SetScript('OnEnter', function() if private.selected_item then + highlight:Show() Aux.info.set_tooltip(private.selected_item.itemstring, this, 'ANCHOR_RIGHT') end end) AuxPostParametersItem:SetScript('OnLeave', function() + highlight:Hide() GameTooltip:Hide() end) diff --git a/panels/search/core.lua b/panels/search/core.lua index f27c2ca..9fec181 100644 --- a/panels/search/core.lua +++ b/panels/search/core.lua @@ -439,11 +439,11 @@ function private.disable_resume() end do - local searches = { [0] = { + local searches = { [1] = { filter_string = '', records = {}, }} - local search_index = 0 + local search_index = 1 function private.current_search() return searches[search_index]