Skip to content

Commit

Permalink
make sortmode item names slightly more useful
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Oct 23, 2021
1 parent f2b11da commit ceef847
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Themes/Rebirth/Scripts/10 WheelDataManager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ local sortmodeImplementations = {
WHEELDATA:ResetSorts()
for _, v in ipairs(sortmodes) do
WHEELDATA.AllSongsByFolder[v] = {}
WHEELDATA.AllFolders[#WHEELDATA.AllFolders + 1] = v
WHEELDATA.AllFolders[#WHEELDATA.AllFolders + 1] = "Sort by "..v
end
end,
function(song)
Expand Down
1 change: 1 addition & 0 deletions Themes/Rebirth/Scripts/11 Wheel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,7 @@ function MusicWheel:new(params)
-- IN SORT MODE MENU
-- PICKING SORT
-- group is the name of the sortmode
group = group:gsub("Sort by ", "")

WHEELDATA:SetCurrentSort(group)
WHEELDATA:UpdateFilteredSonglist()
Expand Down

0 comments on commit ceef847

Please sign in to comment.