diff --git a/Scripts/song_select/file_navigator/box_folder.lua b/Scripts/song_select/file_navigator/box_folder.lua index 4375d50..32fa7b5 100644 --- a/Scripts/song_select/file_navigator/box_folder.lua +++ b/Scripts/song_select/file_navigator/box_folder.lua @@ -127,6 +127,9 @@ function SongSelect:draw_folder_board(box, pb, ch_alpha, ch_off, ta, glow_a) for _, l in ipairs(box:explanation() or {}) do if l ~= "" then lines[#lines + 1] = l end end + -- folders without an explanation show their song count, as before + local n = box.tja_count + if #lines == 0 and n and n > 0 then lines[1] = tostring(n) .. " songs" end for i, l in ipairs(lines) do local ckey = frame .. "\0" .. l local label = self._count_cache[ckey]