set playqueue scroll to center

This commit is contained in:
jeffvli
2025-11-14 01:27:05 -08:00
parent 764d482c36
commit 11cc58ca35
@@ -57,7 +57,7 @@ export const PlayQueue = forwardRef<ItemListHandle, QueueProps>(({ listKey, sear
); );
if (songIndex !== -1) { if (songIndex !== -1) {
tableRef.current.scrollToIndex(songIndex); tableRef.current.scrollToIndex(songIndex, { align: 'center' });
} }
}, },
}, },