feat: added alternative queue display
This commit is contained in:
@@ -563,7 +563,20 @@ export function FurumiPlayer() {
|
||||
}
|
||||
/>
|
||||
|
||||
<PlayerBar track={nowPlayingTrack} />
|
||||
<PlayerBar
|
||||
track={nowPlayingTrack}
|
||||
queue={queueItemsView}
|
||||
order={queueOrderView}
|
||||
playingOrigIdx={queuePlayingOrigIdxView}
|
||||
scrollSignal={queueScrollSignal}
|
||||
onQueuePlay={(origIdx) => queueActionsRef.current?.playIndex(origIdx)}
|
||||
onQueueRemove={(origIdx) =>
|
||||
queueActionsRef.current?.removeFromQueue(origIdx)
|
||||
}
|
||||
onQueueMove={(fromPos, toPos) =>
|
||||
queueActionsRef.current?.moveQueueItem(fromPos, toPos)
|
||||
}
|
||||
/>
|
||||
|
||||
<div className="toast" id="toast" />
|
||||
<audio ref={audioRef} />
|
||||
|
||||
Reference in New Issue
Block a user