perf: ⚡ reduce time on conflict loop detection
This commit is contained in:
parent
4f412c23c0
commit
60668a7e18
@ -33,7 +33,7 @@ export const usePlayer = defineStore('player', {
|
||||
audio.ontimeupdate = () => (this.currentTime = audio.currentTime)
|
||||
audio.onvolumechange = () => (this.volume = audio.volume)
|
||||
|
||||
setInterval(this.loop, 4000)
|
||||
setInterval(this.loop, 2000)
|
||||
},
|
||||
loop() {
|
||||
this.playCount = 0
|
||||
|
Loading…
Reference in New Issue
Block a user