mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 18:33:33 +00:00
[bugfix]: only restart time when now for web
This commit is contained in:
parent
79384fa4ed
commit
67deb3e3d8
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ export const useHandlePlayQueueAdd = () => {
|
||||||
? PlayersRef.current?.player1
|
? PlayersRef.current?.player1
|
||||||
: PlayersRef.current?.player2;
|
: PlayersRef.current?.player2;
|
||||||
const underlying = player?.getInternalPlayer();
|
const underlying = player?.getInternalPlayer();
|
||||||
if (underlying) {
|
if (underlying && playType === Play.NOW) {
|
||||||
underlying.currentTime = 0;
|
underlying.currentTime = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue