diff --git a/src/renderer/components/virtual-table/cells/row-index-cell.tsx b/src/renderer/components/virtual-table/cells/row-index-cell.tsx index 48e9ac7b..c9a4c76f 100644 --- a/src/renderer/components/virtual-table/cells/row-index-cell.tsx +++ b/src/renderer/components/virtual-table/cells/row-index-cell.tsx @@ -133,14 +133,20 @@ const StaticSvg = () => { }; export const RowIndexCell = ({ value, eGridCell }: ICellRendererParams) => { - const isFocused = eGridCell.classList.contains('focused'); + const classList = eGridCell.classList; + const isFocused = classList.contains('focused'); + const isPlaying = classList.contains('playing'); const isCurrentSong = - eGridCell.classList.contains('current-song') || - eGridCell.classList.contains('current-playlist-song'); + classList.contains('current-song') || classList.contains('current-playlist-song'); return ( - {isFocused && isCurrentSong ? : isCurrentSong ? : null} + {isPlaying && + (isFocused && isCurrentSong ? ( + + ) : isCurrentSong ? ( + + ) : null)}