Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Sort component list in worldInspect.lua (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
benbrimeyer authored May 22, 2023
1 parent cdf0867 commit be89a87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/debugger/widgets/worldInspect.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ return function(plasma)
selected = debugComponent == component,
})
end
table.sort(items, function(a, b)
return a.text < b.text
end)

plasma.row({ padding = 30 }, function()
local selectedItem = custom.selectionList(items, {
Expand Down

0 comments on commit be89a87

Please sign in to comment.