mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 07:21:50 +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){
|
stop(time, absolute){
|
||||||
time = this.convertTime(time, absolute)
|
time = this.convertTime(time, absolute)
|
||||||
this.sources.forEach(source => {
|
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(() => {
|
this.setTimeouts(time).then(() => {
|
||||||
if(this.loop){
|
if(this.loop){
|
||||||
|
Loading…
Reference in New Issue
Block a user