refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-09 01:30:23 +02:00
parent 3c92bf430f
commit 08089a7a95
+2 -2
View File
@@ -1001,13 +1001,13 @@ function public.CreateAuctionResultsTable(parent, config)
local rt = CreateFrame('Frame', rtName, parent)
rt.config = config
local numRows = 16
rt.ROW_HEIGHT = (parent:GetHeight() - HEAD_HEIGHT-HEAD_SPACE) / numRows
rt.ROW_HEIGHT = (parent:GetHeight() - HEAD_HEIGHT - HEAD_SPACE) / numRows
rt.scrollDisabled = nil
rt.expanded = {}
rt.handlers = {}
rt.sorts = {}
rt.records = {}
rt.rowInfo = { numDisplayRows=0 }
rt.rowInfo = {numDisplayRows=0}
for name, func in methods do
rt[name] = func