From c5f64af5aa35d2eacba53866b3809fc53e269bfd Mon Sep 17 00:00:00 2001 From: ner Date: Wed, 5 Aug 2026 19:03:01 +0300 Subject: [PATCH] fix: play button bleeding --- .../components/TorrentsTable/components/Actions/index.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/components/Preview/components/Torrents/components/TorrentsTable/components/Actions/index.tsx b/components/Preview/components/Torrents/components/TorrentsTable/components/Actions/index.tsx index 8da79bb..a5cae0e 100644 --- a/components/Preview/components/Torrents/components/TorrentsTable/components/Actions/index.tsx +++ b/components/Preview/components/Torrents/components/TorrentsTable/components/Actions/index.tsx @@ -31,10 +31,6 @@ const Actions: FC = ({ torrent, title, provider, show }) => { const { isSafari } = detectSafari(); - // The stream proxy remuxes any container to fragmented MP4 and converts audio - // to AAC, and copies HEVC tagged `hvc1` (which Safari/iOS decode in hardware). - // So we no longer require container === mp4 or block HEVC on Safari — the proxy - // makes the usual MKV/HEVC rips playable in the browser. const supportedForStream = useMemo(() => { if (provider === providers.yts.key) { return [Quality.The1080P, Quality.The720P].includes(torrent.quality as Quality); @@ -89,7 +85,8 @@ const Actions: FC = ({ torrent, title, provider, show }) => { variant='destructive' className={cn( 'flex-grow-0 px-3 bg-red-600', - 'hover:shadow-lg hover:shadow-red-600/60 duration-200 transition-all hover:bg-red-600' + 'hover:shadow-lg hover:shadow-red-600/60 duration-200 transition-all hover:bg-red-600', + { 'bg-transparent': !magnet || fetchMagnet.isPending } )} onClick={() => { showPlayerModal({ backdrop: show.backdrop, title, hash, magnet });