mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-02 12:08:37 +01:00
fix(player): re-enable controls auto-hide timeout
The useControlsTimeout call hardcoded disabled: true (introduced in the KSPlayer PR #1266), so player controls never auto-hid after the inactivity timeout and stayed on screen until manually toggled. Remove the override to restore the intended auto-hide behavior.
This commit is contained in:
@@ -467,7 +467,6 @@ export const Controls: FC<Props> = ({
|
|||||||
episodeView,
|
episodeView,
|
||||||
onHideControls: hideControls,
|
onHideControls: hideControls,
|
||||||
timeout: CONTROLS_CONSTANTS.TIMEOUT,
|
timeout: CONTROLS_CONSTANTS.TIMEOUT,
|
||||||
disabled: true,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const switchOnEpisodeMode = useCallback(() => {
|
const switchOnEpisodeMode = useCallback(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user