musikr: fix playlist graphing
This commit is contained in:
@@ -340,7 +340,7 @@ internal class GenreVertex(val preGenre: PreGenre) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
internal class PlaylistVertex(val prePlaylist: PrePlaylist) {
|
internal class PlaylistVertex(val prePlaylist: PrePlaylist) {
|
||||||
val songVertices = mutableListOf<SongVertex?>()
|
val songVertices = Array<SongVertex?>(prePlaylist.songPointers.size) { null}
|
||||||
val pointerMap = mutableMapOf<SongPointer, Int>()
|
val pointerMap = prePlaylist.songPointers.withIndex().associateBy { it.value }.mapValuesTo(mutableMapOf()) { it.value.index }
|
||||||
val tag: Any? = null
|
val tag: Any? = null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user