mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
[bugfix]: only restart time when now for web
This commit is contained in:
@@ -186,7 +186,7 @@ export const useHandlePlayQueueAdd = () => {
|
||||
? PlayersRef.current?.player1
|
||||
: PlayersRef.current?.player2;
|
||||
const underlying = player?.getInternalPlayer();
|
||||
if (underlying) {
|
||||
if (underlying && playType === Play.NOW) {
|
||||
underlying.currentTime = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user