set playqueue scroll to center

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