some listing refactoring

This commit is contained in:
Simon Hirsig
2015-10-30 13:19:50 +01:00
parent c17a1508c6
commit 68b9b3e486
3 changed files with 19 additions and 5 deletions
+9
View File
@@ -278,6 +278,15 @@ Aux.buy.modes = {
on_cell_leave = function (sheet, row_index, column_index)
sheet.rows[row_index].highlight:SetAlpha(0)
end,
row_setter = function(row, datum)
if current_auction and datum == current_auction then
row.highlight:SetAlpha(.5)
else
row.highlight:SetAlpha(0)
end
end,
columns = {
{
title = 'Qty',