mirror of
https://github.com/FluxaMedia/fluxa-desktop.git
synced 2026-08-06 08:48:45 +00:00
fix: log seek thumbnail invoke failures instead of swallowing them
This commit is contained in:
parent
67536ecb55
commit
9d8feecd7d
1 changed files with 1 additions and 1 deletions
|
|
@ -514,7 +514,7 @@ export function ReactPlayerOverlay({ closePlayer, onFirstFrame, initialTitle, in
|
|||
seekThumbTimerRef.current = setTimeout(() => {
|
||||
invoke<string>('player_get_seek_thumbnail', { timePos: time })
|
||||
.then((img) => { if (img) setSeekThumbImg(img); })
|
||||
.catch(() => undefined);
|
||||
.catch((err) => console.error('player_get_seek_thumbnail failed', err));
|
||||
}, 120);
|
||||
return () => {
|
||||
if (seekThumbTimerRef.current) clearTimeout(seekThumbTimerRef.current);
|
||||
|
|
|
|||
Loading…
Reference in a new issue