auto buy refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-10-12 19:51:16 +02:00
parent 2e19a90d2d
commit 30d1f40b50
9 changed files with 183 additions and 303 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ function public.create(parent, on_click, selected)
content:SetPoint('TOPLEFT', 0, -51)
content:SetPoint('BOTTOMRIGHT', -15, 0)
local scroll_frame = CreateFrame('ScrollFrame', gui.name .. 'ScrollFrame', parent, 'FauxScrollFrameTemplate')
local scroll_frame = CreateFrame('ScrollFrame', gui.unique_name .. 'ScrollFrame', parent, 'FauxScrollFrameTemplate')
scroll_frame:SetScript('OnVerticalScroll', function(self, offset)
FauxScrollFrame_OnVerticalScroll(ROW_HEIGHT, function() render(this.item_listing) end)
end)