mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-12-23 01:36:14 +08:00
Fix back button on song select
This commit is contained in:
parent
4845ec106b
commit
faff06bbbd
@ -179,7 +179,9 @@ class Sound{
|
||||
stop(time, absolute){
|
||||
time = this.convertTime(time, absolute)
|
||||
this.sources.forEach(source => {
|
||||
source.stop(Math.max(source.startTime, time))
|
||||
try{
|
||||
source.stop(Math.max(source.startTime, time))
|
||||
}catch(e){}
|
||||
})
|
||||
this.setTimeouts(time).then(() => {
|
||||
if(this.loop){
|
||||
|
Loading…
Reference in New Issue
Block a user