You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if this is a logic error on my part or a bug haha
When I was making a function to determine whether to stop music,
I accidentally discovered that after I used the .setPaused(true) function,
I directly used the.playTrack(options: {noReplace: false}) function to play new music (that is, I would Replace the current music and play),
at this point I use the .paused logic to determine if the music is not playing and will return a true value, but this is obviously wrong.
If the problem is solved please remember to remind me, love you :>
The text was updated successfully, but these errors were encountered:
blackink7777
changed the title
.playTrack() will not change the boolean value of .paused
.playTrack() will not change the boolean value of .paused in v4.0.1
Apr 15, 2024
I don't know if this is a logic error on my part or a bug haha
When I was making a function to determine whether to stop music,
I accidentally discovered that after I used the
.setPaused(true)
function,I directly used the
.playTrack(options: {noReplace: false})
function to play new music (that is, I would Replace the current music and play),at this point I use the .paused logic to determine if the music is not playing and will return a true value, but this is obviously wrong.
If the problem is solved please remember to remind me, love you :>
The text was updated successfully, but these errors were encountered: