mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-07-19 10:44:18 +01:00
Update components/video-player/controls/SkipSegmentOverlay.tsx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -48,7 +48,7 @@ const useDelayedHide = (value: boolean, duration: number): boolean => {
|
|||||||
const t = setTimeout(() => setDisplay(false), duration);
|
const t = setTimeout(() => setDisplay(false), duration);
|
||||||
return () => clearTimeout(t);
|
return () => clearTimeout(t);
|
||||||
}, [value, duration]);
|
}, [value, duration]);
|
||||||
return display;
|
return value || display;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user