mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
reset long doubleclick time to 5 seconds
This commit is contained in:
parent
87b795e14f
commit
7a0535d9c7
2 changed files with 2 additions and 2 deletions
|
@ -176,7 +176,7 @@ import { appRouter } from '../appRouter';
|
||||||
}
|
}
|
||||||
// Return to start of track, unless we are already (almost) at the beginning. In the latter case, continue and move
|
// Return to start of track, unless we are already (almost) at the beginning. In the latter case, continue and move
|
||||||
// to the previous track, unless we are at the first track so no previous track exists.
|
// to the previous track, unless we are at the first track so no previous track exists.
|
||||||
if (currentPlayer._currentTime >= 2 || playbackManager.getCurrentPlaylistIndex(currentPlayer) <= 1) {
|
if (currentPlayer._currentTime >= 5 || playbackManager.getCurrentPlaylistIndex(currentPlayer) <= 1) {
|
||||||
playbackManager.seekPercent(0, currentPlayer);
|
playbackManager.seekPercent(0, currentPlayer);
|
||||||
// This is done automatically by playbackManager, however, setting this here gives instant visual feedback.
|
// This is done automatically by playbackManager, however, setting this here gives instant visual feedback.
|
||||||
// TODO: Check why seekPercentage doesn't reflect the changes inmmediately, so we can remove this workaround.
|
// TODO: Check why seekPercentage doesn't reflect the changes inmmediately, so we can remove this workaround.
|
||||||
|
|
|
@ -771,7 +771,7 @@ export default function () {
|
||||||
}
|
}
|
||||||
// Return to start of track, unless we are already (almost) at the beginning. In the latter case, continue and move
|
// Return to start of track, unless we are already (almost) at the beginning. In the latter case, continue and move
|
||||||
// to the previous track, unless we are at the first track so no previous track exists.
|
// to the previous track, unless we are at the first track so no previous track exists.
|
||||||
if (currentPlayer._currentTime >= 2 || playbackManager.getCurrentPlaylistIndex(currentPlayer) <= 1) {
|
if (currentPlayer._currentTime >= 5 || playbackManager.getCurrentPlaylistIndex(currentPlayer) <= 1) {
|
||||||
playbackManager.seekPercent(0, currentPlayer);
|
playbackManager.seekPercent(0, currentPlayer);
|
||||||
// This is done automatically by playbackManager, however, setting this here gives instant visual feedback.
|
// This is done automatically by playbackManager, however, setting this here gives instant visual feedback.
|
||||||
// TODO: Check why seekPercentage doesn't reflect the changes inmmediately, so we can remove this workaround.
|
// TODO: Check why seekPercentage doesn't reflect the changes inmmediately, so we can remove this workaround.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue