feat: add new audioPlayer route and allow reordering queue
This commit is contained in:
17 files changed
+629
-219
No files matched your search
@@ -250,7 +250,7 @@ function MusicAlbumTitlePage() {
|
||||
<Typography variant="subtitle1">Title</Typography>
|
||||
<Typography variant="subtitle1">Duration</Typography>
|
||||
</div>
|
||||
{musicTracks.data?.Items?.map((track) => (
|
||||
{musicTracks.data?.Items?.map((track, index) => (
|
||||
<div
|
||||
className={
|
||||
currentPlayingItem?.Id === track.Id
|
||||
@@ -259,11 +259,7 @@ function MusicAlbumTitlePage() {
|
||||
}
|
||||
key={track.Id}
|
||||
onClick={() =>
|
||||
handlePlayback(
|
||||
track.IndexNumber,
|
||||
track,
|
||||
musicTracks.data.Items,
|
||||
)
|
||||
handlePlayback(index, track, musicTracks.data.Items)
|
||||
}
|
||||
>
|
||||
<div className="index-container">
|
||||
|
||||
@@ -97,9 +97,6 @@ $border-radius: 20px;
|
||||
flex-direction: column;
|
||||
gap: 0.1em
|
||||
}
|
||||
&:nth-last-of-type(even):not(.header) {
|
||||
background: rgb(0 0 0 / 0.2);
|
||||
}
|
||||
&:hover {
|
||||
background: rgb(255 255 255 / 0.1) !important;
|
||||
.index-container {
|
||||
|
||||
Reference in new issue
Block a user