Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shirsig committed Jul 8, 2023
1 parent c765b5d commit fbae97f
Show file tree
Hide file tree
Showing 6 changed files with 340 additions and 343 deletions.
42 changes: 21 additions & 21 deletions core/disenchant.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,32 @@ local history = require 'aux.core.history'
local UNCOMMON, RARE, EPIC = 2, 3, 4

local ARMOR = aux.set(
'INVTYPE_HEAD',
'INVTYPE_NECK',
'INVTYPE_SHOULDER',
'INVTYPE_BODY',
'INVTYPE_CHEST',
'INVTYPE_ROBE',
'INVTYPE_WAIST',
'INVTYPE_LEGS',
'INVTYPE_FEET',
'INVTYPE_WRIST',
'INVTYPE_HAND',
'INVTYPE_FINGER',
'INVTYPE_TRINKET',
'INVTYPE_CLOAK',
'INVTYPE_HOLDABLE',
'INVTYPE_HEAD',
'INVTYPE_NECK',
'INVTYPE_SHOULDER',
'INVTYPE_BODY',
'INVTYPE_CHEST',
'INVTYPE_ROBE',
'INVTYPE_WAIST',
'INVTYPE_LEGS',
'INVTYPE_FEET',
'INVTYPE_WRIST',
'INVTYPE_HAND',
'INVTYPE_FINGER',
'INVTYPE_TRINKET',
'INVTYPE_CLOAK',
'INVTYPE_HOLDABLE',
'INVTYPE_SHIELD',
'INVTYPE_RELIC'
)

local WEAPON = aux.set(
'INVTYPE_2HWEAPON',
'INVTYPE_WEAPONMAINHAND',
'INVTYPE_WEAPON',
'INVTYPE_WEAPONOFFHAND',
'INVTYPE_RANGED',
'INVTYPE_RANGEDRIGHT',
'INVTYPE_2HWEAPON',
'INVTYPE_WEAPONMAINHAND',
'INVTYPE_WEAPON',
'INVTYPE_WEAPONOFFHAND',
'INVTYPE_RANGED',
'INVTYPE_RANGEDRIGHT',
'INVTYPE_THROWN'
)

Expand Down
1 change: 0 additions & 1 deletion core/slash.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ function SlashCmdList.AUX(command)
aux.print('- scale [' .. aux.color.blue(aux.account_data.scale) .. ']')
aux.print('- ignore owner [' .. status(aux.account_data.ignore_owner) .. ']')
aux.print('- action shortcuts [' .. status(aux.account_data.action_shortcuts) .. ']')
aux.print('- action shortcuts [' .. status(aux.account_data.action_shortcuts) .. ']')
aux.print('- post full scan [' .. status(aux.account_data.post_full_scan) .. ']')
aux.print('- post bid [' .. aux.color.blue(aux.account_data.post_bid or 'off') .. ']')
aux.print('- post duration [' .. aux.color.blue(info.duration_hours(aux.account_data.post_duration) .. 'h') .. ']')
Expand Down
4 changes: 2 additions & 2 deletions tabs/post/core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -515,9 +515,9 @@ function refresh_entries()
on_scan_start = function()
aux.status_bar:update_status(0, 0)
end,
on_page_loaded = function(page, total_pages)
on_page_loaded = function(page, total_pages)
aux.status_bar:update_status(page / total_pages, 0)
end,
end,
on_page_scanned = function()
bid_records[item_key] = bid_records[item_key] or {}
buyout_records[item_key] = buyout_records[item_key] or {}
Expand Down
2 changes: 1 addition & 1 deletion tabs/search/filter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ do
filter_display:SetText(text)
end
function filter_display_size()
local font, font_size, flags = filter_display:GetFont('p')
local font, font_size = filter_display:GetFont('p')
filter_display.measure:SetFont(font, font_size)
local lines = 0
local width = 0
Expand Down
2 changes: 1 addition & 1 deletion tabs/search/frame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ do
btn:SetWidth(45)
btn:SetText('Live')
btn:SetScript('OnClick', function(self)
update_mode(mode == NORMAL_MODE and LIVE_MODE or NORMAL_MODE)
update_mode(mode == NORMAL_MODE and LIVE_MODE or NORMAL_MODE)
end)
mode_button = btn
end
Expand Down
Loading

0 comments on commit fbae97f

Please sign in to comment.