Skip to content

Commit 1f48883

Browse files
committed
WIP PW lobby work.
1 parent a0d500e commit 1f48883

4 files changed

Lines changed: 190 additions & 107 deletions

File tree

LuaMenu/widgets/chobby/components/sortable_list.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SortableList = Component:extends{}
22

3-
function SortableList:init(holder, headings, itemHeight, defaultSort, sortDirection, scrollPanelOverride, ItemInFilter)
3+
function SortableList:init(holder, headings, itemHeight, defaultSort, sortDirection, scrollPanelOverride, ItemInFilter, showBorder)
44
self:DoInit() -- Lack of inheritance strikes again.
55

66
self.sortBy = false
@@ -73,7 +73,7 @@ function SortableList:init(holder, headings, itemHeight, defaultSort, sortDirect
7373
right = 0,
7474
y = (headings and 42) or 0,
7575
bottom = 0,
76-
borderColor = {0,0,0,0},
76+
borderColor = (not showBorder) and {0,0,0,0},
7777
horizontalScrollbar = false,
7878
parent = self.holder,
7979
OnResize = {

0 commit comments

Comments
 (0)