minor changes

This commit is contained in:
Manuel Simon Hirsig
2016-07-14 18:05:48 +02:00
parent 991a8302ec
commit 564a77f2e0
2 changed files with 8 additions and 2 deletions
+6
View File
@@ -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)
+2 -2
View File
@@ -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]